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

密码错误异常。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [IncorrectPasswordException(String message)](#IncorrectPasswordException-java.lang.String-) | 初始化一个新的 [IncorrectPasswordException](../../com.aspose.imaging.coreexceptions/incorrectpasswordexception) 类的实例。 |
### IncorrectPasswordException(String message) {#IncorrectPasswordException-java.lang.String-}
```
public IncorrectPasswordException(String message)
```


初始化一个新的 [IncorrectPasswordException](../../com.aspose.imaging.coreexceptions/incorrectpasswordexception) 类的实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 消息 | java.lang.String | 描述错误的消息。 |

