public class PsdImageResourceException extends PsdImageException
The psd image resource exception.
Constructor and Description |
---|
PsdImageResourceException(String message,
ResourceBlock resource)
Initializes a new instance of the
PsdImageResourceException class. |
PsdImageResourceException(String message,
ResourceBlock resource,
RuntimeException innerException)
Initializes a new instance of the
PsdImageResourceException class. |
Modifier and Type | Method and Description |
---|---|
ResourceBlock |
getResource()
Gets the psd resource which caused this exception.
|
public PsdImageResourceException(String message, ResourceBlock resource)
Initializes a new instance of the PsdImageResourceException
class.
message
- The exception message.resource
- The resource.public PsdImageResourceException(String message, ResourceBlock resource, RuntimeException innerException)
Initializes a new instance of the PsdImageResourceException
class.
message
- The exception message.resource
- The resource.innerException
- The inner exception.public final ResourceBlock getResource()
Gets the psd resource which caused this exception.
Value: The resource.