**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, [com.aspose.imaging.coreexceptions.ImageException](../../com.aspose.imaging.coreexceptions/imageexception)
```
public class ImageLoadException extends ImageException
```

图像加载异常。发生在图像加载期间。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [ImageLoadException(String message)](#ImageLoadException-java.lang.String-) | 初始化一个新的 `ImageLoadException` 类的实例。 |
| [ImageLoadException(String message, Throwable innerException)](#ImageLoadException-java.lang.String-java.lang.Throwable-) | 初始化一个新的 `ImageLoadException` 类的实例。 |
### ImageLoadException(String message) {#ImageLoadException-java.lang.String-}
```
public ImageLoadException(String message)
```


初始化一个新的 `ImageLoadException` 类的实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 消息 | java.lang.String | 异常消息。 |

### ImageLoadException(String message, Throwable innerException) {#ImageLoadException-java.lang.String-java.lang.Throwable-}
```
public ImageLoadException(String message, Throwable innerException)
```


初始化一个新的 `ImageLoadException` 类的实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 消息 | java.lang.String | 异常消息。 |
| innerException | java.lang.Throwable | 内部异常。 |

