**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
```

The image load exception. Occurs during image loading.
## Constructors

| Constructor | Description |
| --- | --- |
| [ImageLoadException(String message)](#ImageLoadException-java.lang.String-) | Initializes a new instance of the `ImageLoadException` class. |
| [ImageLoadException(String message, Throwable innerException)](#ImageLoadException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the `ImageLoadException` class. |
### ImageLoadException(String message) {#ImageLoadException-java.lang.String-}
```
public ImageLoadException(String message)
```


Initializes a new instance of the `ImageLoadException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The exception message. |

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


Initializes a new instance of the `ImageLoadException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The exception message. |
| innerException | java.lang.Throwable | The inner exception. |

