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

The Gif image exception.
## Constructors

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


Initializes a new instance of the `GifImageException` class.

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

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


Initializes a new instance of the `GifImageException` class.

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

