PsdImageResourceException

Inheritance: java.lang.Object, com.aspose.cad.cadexceptions.imageformats.PsdImageException

The psd image resource exception.

Constructors

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
messageStringThe exception message.
resourceResourceBlockThe 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:

ParameterTypeDescription
messageStringThe exception message.
resourceResourceBlockThe resource.
innerExceptionThrowableThe inner exception.

getResource()

public ResourceBlock getResource()

Gets the psd resource which caused this exception.

Returns: ResourceBlock - The resource.