**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 ImageSaveException extends ImageException
```

The image save exception. Occurs during image saving.
## Constructors

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


Initializes a new instance of the `ImageSaveException` class.

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

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


Initializes a new instance of the `ImageSaveException` class.

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

