ArchivePasswordException Class
The exception that is thrown when an encrypted archive or entry is read without a password, or with a wrong password.
public sealed class ArchivePasswordException : IOException- Inheritance
IOExceptionArchivePasswordException
Constructors
| Name | Description |
|---|---|
| ArchivePasswordException() | Initializes a new instance of the ArchivePasswordException class. |
| ArchivePasswordException(string?) | Initializes a new instance of the ArchivePasswordException class with a message. |
| ArchivePasswordException(string?, Exception?) | Initializes a new instance of the ArchivePasswordException class with a message and the exception that caused it. |
ArchivePasswordException overloads
ArchivePasswordException()
ArchivePasswordException.csInitializes a new instance of the ArchivePasswordException class.
public ArchivePasswordException()ArchivePasswordException(string?)
ArchivePasswordException.csInitializes a new instance of the ArchivePasswordException class with a message.
public ArchivePasswordException(string? message)Parameters
messagestring?- The message that describes the error.
ArchivePasswordException(string?, Exception?)
ArchivePasswordException.csInitializes a new instance of the ArchivePasswordException class with a message and the exception that caused it.
Parameters
messagestring?- The message that describes the error.
innerExceptionException?- The exception that caused this exception.