PasswordProtectedFileException
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException
public class PasswordProtectedFileException extends ComparisonException
The exception that is thrown when document is protected by password but the password was not provided.
| Constructor | 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. |
public 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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | java.lang.String | The error message |
| cause | java.lang.Throwable | The cause of the exception |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.