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

Represents the exception thrown when a component cannot be granted a license.
## Constructors

| Constructor | Description |
| --- | --- |
| [LicenseException(String message)](#LicenseException-java.lang.String-) |  |
### LicenseException(String message) {#LicenseException-java.lang.String-}
```
public LicenseException(String message)
```


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

