New to Telerik UI for WinForms? Start a free 30-day trial

Signals that an encrypted ZIP entry cannot be decrypted with the supplied password.

Definition

Namespace:Telerik.Zip

Assembly:Telerik.Windows.Zip.dll

Syntax:

C#
public sealed class InvalidPasswordException : Exception, ISerializable, _Exception

Inheritance: objectExceptionInvalidPasswordException

Implements: ISerializable_Exception

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetObjectData(SerializationInfo, StreamingContext)Exception.GetType()Exception.MessageException.DataException.InnerExceptionException.TargetSiteException.StackTraceException.HelpLinkException.SourceException.HResult...

Constructors

Creates an InvalidPasswordException representing a password verification failure.

C#
public InvalidPasswordException()

Creates an InvalidPasswordException with a message and inner exception providing causal context.

C#
public InvalidPasswordException(string message, Exception innerException)
Parameters:messagestring

The error message that explains the reason for the exception.

innerExceptionException

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Creates an InvalidPasswordException with a specific explanatory error message.

C#
public InvalidPasswordException(string message)
Parameters:messagestring

The error message that explains the reason for the exception.