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

The Tiff image exception
## Constructors

| Constructor | Description |
| --- | --- |
| [TiffImageException(String message)](#TiffImageException-java.lang.String-) | Initializes a new instance of the `TiffImageException` class. |
| [TiffImageException(String message, Throwable innerException)](#TiffImageException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the `TiffImageException` class. |
| [TiffImageException(String message, int error)](#TiffImageException-java.lang.String-int-) | Initializes a new instance of the `TiffImageException` class. |
| [TiffImageException(int error)](#TiffImageException-int-) | Initializes a new instance of the `TiffImageException` class. |
## Methods

| Method | Description |
| --- | --- |
| [getOptionsError()](#getOptionsError--) | Gets the tiff options error. |
### TiffImageException(String message) {#TiffImageException-java.lang.String-}
```
public TiffImageException(String message)
```


Initializes a new instance of the `TiffImageException` class.

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

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


Initializes a new instance of the `TiffImageException` class.

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

### TiffImageException(String message, int error) {#TiffImageException-java.lang.String-int-}
```
public TiffImageException(String message, int error)
```


Initializes a new instance of the `TiffImageException` class.

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

### TiffImageException(int error) {#TiffImageException-int-}
```
public TiffImageException(int error)
```


Initializes a new instance of the `TiffImageException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| error | int | The error. |

### getOptionsError() {#getOptionsError--}
```
public int getOptionsError()
```


Gets the tiff options error.

Value: The tiff options error.

**Returns:**
int
