**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception
```
public class IncorrectPasswordException extends System.Exception
```

The incorrect password exception.
## Constructors

| Constructor | Description |
| --- | --- |
| [IncorrectPasswordException(String message)](#IncorrectPasswordException-java.lang.String-) | Initializes a new instance of the [IncorrectPasswordException](../../com.aspose.imaging.coreexceptions/incorrectpasswordexception) class. |
### IncorrectPasswordException(String message) {#IncorrectPasswordException-java.lang.String-}
```
public IncorrectPasswordException(String message)
```


Initializes a new instance of the [IncorrectPasswordException](../../com.aspose.imaging.coreexceptions/incorrectpasswordexception) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The message that describes the error. |

