PsdImageResourceException
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.cad.cadexceptions.imageformats.PsdImageException
The psd image resource exception.
Constructors
| Constructor | Description |
|---|---|
| PsdImageResourceException(String message, ResourceBlock resource) | Initializes a new instance of the PsdImageResourceException class. |
| PsdImageResourceException(String message, ResourceBlock resource, Throwable innerException) | Initializes a new instance of the PsdImageResourceException class. |
Methods
| Method | Description |
|---|---|
| getResource() | Gets the psd resource which caused this exception. |
PsdImageResourceException(String message, ResourceBlock resource)
public PsdImageResourceException(String message, ResourceBlock resource)
Initializes a new instance of the PsdImageResourceException class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | String | The exception message. |
| resource | ResourceBlock | The resource. |
PsdImageResourceException(String message, ResourceBlock resource, Throwable innerException)
public PsdImageResourceException(String message, ResourceBlock resource, Throwable innerException)
Initializes a new instance of the PsdImageResourceException class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | String | The exception message. |
| resource | ResourceBlock | The resource. |
| innerException | Throwable | The inner exception. |
getResource()
public ResourceBlock getResource()
Gets the psd resource which caused this exception.
Returns: ResourceBlock - The resource.