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

The exceptions which specified for image masking system.
## Constructors

| Constructor | Description |
| --- | --- |
| [ImageMaskingException(String message)](#ImageMaskingException-java.lang.String-) | Initializes a new instance of the [ImageMaskingException](../../com.aspose.imaging.masking.exceptions/imagemaskingexception) class. |
### ImageMaskingException(String message) {#ImageMaskingException-java.lang.String-}
```
public ImageMaskingException(String message)
```


Initializes a new instance of the [ImageMaskingException](../../com.aspose.imaging.masking.exceptions/imagemaskingexception) class.

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

