public class PasswordRequiredException extends GroupDocsViewerException
This exception is thrown when a password is required to load the document. This exception typically occurs when attempting to load or open a document that is encrypted or password-protected without providing valid password.
| Constructor and Description |
|---|
PasswordRequiredException()
Initializes a new instance of the
PasswordRequiredException class. |
PasswordRequiredException(String message)
Initializes a new instance of the
PasswordRequiredException class with a custom exception message. |
PasswordRequiredException(String message,
Throwable throwable)
Initializes a new instance of the
PasswordRequiredException class with a specified error message. |
toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PasswordRequiredException()
Initializes a new instance of the PasswordRequiredException class.
public PasswordRequiredException(String message)
Initializes a new instance of the PasswordRequiredException class with a custom exception message.
Copyright © 2024. All rights reserved.