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

The image exception.
## Constructors

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


Initializes a new instance of the `ImageException` class.

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

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


Initializes a new instance of the `ImageException` class.

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

