public class PasswordProtectedFileException extends ComparisonException
The exception that is thrown when document is protected by password but the password was not provided.
| Constructor and Description |
|---|
PasswordProtectedFileException()
Initializes a new instance of the PasswordProtectedFileException class.
|
PasswordProtectedFileException(String message,
Throwable cause)
Initializes a new instance of the PasswordProtectedFileException class with error message and an object that represents the cause of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PasswordProtectedFileException()
Initializes a new instance of the PasswordProtectedFileException class.
public PasswordProtectedFileException(String message, Throwable cause)
Initializes a new instance of the PasswordProtectedFileException class with error message and an object that represents the cause of the exception.
message - The error messagecause - The cause of the exceptionCopyright © 2024. All rights reserved.