IncorrectPasswordException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.viewer.exception.GroupDocsViewerException

public class IncorrectPasswordException extends GroupDocsViewerException

This exception is thrown when the specified password is incorrect. This exception is typically thrown when attempting to access or decrypt a protected document with an invalid password.

Constructors

Constructor Description
IncorrectPasswordException() Initializes a new instance of the IncorrectPasswordException class.
IncorrectPasswordException(String message, Throwable throwable) Initializes a new instance of the IncorrectPasswordException class with a specified error message.

IncorrectPasswordException()

public IncorrectPasswordException()

Initializes a new instance of the IncorrectPasswordException class.

IncorrectPasswordException(String message, Throwable throwable)

public IncorrectPasswordException(String message, Throwable throwable)

Initializes a new instance of the IncorrectPasswordException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String The message.
throwable java.lang.Throwable The throwable.