DocumentProtectedException
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.markdown.GroupDocsMarkdownException
public final class DocumentProtectedException extends GroupDocsMarkdownException
Thrown when a document is password-protected and no password (or an incorrect password) was provided via LoadOptions.setPassword(…).
| Constructor | Description |
|---|---|
| DocumentProtectedException() | Creates exception with default message. |
| DocumentProtectedException(String message, Throwable cause) | Creates exception with custom message and cause. |
public DocumentProtectedException()
Creates exception with default message.
public DocumentProtectedException(String message, Throwable cause)
Creates exception with custom message and cause.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | java.lang.String | the error message |
| cause | java.lang.Throwable | the underlying 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.