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

The imaging framework exception. This class is a core class for all Aspose.Imaging exceptions. Introduced to discriminate between the exceptions thrown by the Aspose.Imaging engine and all other exception types.
## Constructors

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


Initializes a new instance of the `FrameworkException` class.

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

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


Initializes a new instance of the `FrameworkException` class.

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

