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

Jpeg2000 OpenJpeg code generated exception
## Constructors

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


Initializes a new instance of the `Jpeg2000CustomException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The message that describes the error. |

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


Initializes a new instance of the `Jpeg2000CustomException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The error message that explains the reason for the exception. |
| innerException | java.lang.Throwable | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |

