PasswordRequiredException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException

public final class PasswordRequiredException extends RuntimeException

The exception that is thrown when user tries to open a password-protected encrypted document of some format and doesn’t provide a password for opening this document.

Constructors

Constructor Description
PasswordRequiredException()
PasswordRequiredException(String message)
PasswordRequiredException(String message, RuntimeException inner)

PasswordRequiredException()

public PasswordRequiredException()

PasswordRequiredException(String message)

public PasswordRequiredException(String message)

Parameters:

Parameter Type Description
message java.lang.String

PasswordRequiredException(String message, RuntimeException inner)

public PasswordRequiredException(String message, RuntimeException inner)

Parameters:

Parameter Type Description
message java.lang.String
inner java.lang.RuntimeException