Skip to main content

WrongPasswordException Class

An exception that is thrown when an encrypted zip file item is extracted with an invalid password.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v26.1.dll

Declaration

public class WrongPasswordException :
    SecureZipTrace.TrustBoundaryViolationException

Remarks

If a ZipItem.Password property for the encrypted zip item contains an invalid password, the call to the ZipItem.Extract method fires the WrongPasswordException exception. Wrap the ZipItem.Extract method call in try..catch statements to intercept the exception.

Inheritance

Object
Exception
SystemException
SecurityException
DevExpress.Utils.Zip.Internal.SecureZipTrace.SecureZipPolicyViolationException<DevExpress.Utils.Zip.Diagnostics.TrustBoundaryViolationCode>
DevExpress.Utils.Zip.Internal.SecureZipTrace.TrustBoundaryViolationException
WrongPasswordException
See Also