Class DocxEncryptionPasswordException
Indicates that a password could not decrypt an encrypted DOCX package.
Inheritance
DocxEncryptionPasswordException
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class DocxEncryptionPasswordException : InvalidOperationException, ISerializable, _Exception
Constructors
DocxEncryptionPasswordException()
Initializes a new instance of the DocxEncryptionPasswordException class.
Declaration
public DocxEncryptionPasswordException()
DocxEncryptionPasswordException(string)
Initializes a new instance of the DocxEncryptionPasswordException class with a custom message.
Declaration
public DocxEncryptionPasswordException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
DocxEncryptionPasswordException(string, Exception)
Initializes a new instance of the DocxEncryptionPasswordException class with a custom message and inner exception.
Declaration
public DocxEncryptionPasswordException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The exception that caused this exception. |