com.aspose.imaging.exceptions.imageformats
Class PsdImageResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aspose.imaging.exceptions.ImageException
                  extended by com.aspose.imaging.exceptions.imageformats.PsdImageException
                      extended by com.aspose.imaging.exceptions.imageformats.PsdImageResourceException
All Implemented Interfaces:
java.io.Serializable

public class PsdImageResourceException
extends PsdImageException

The psd image resource exception.

See Also:
Serialized Form

Constructor Summary
PsdImageResourceException(java.lang.String message, ResourceBlock resource)
           Initializes a new instance of the PsdImageResourceException class.
PsdImageResourceException(java.lang.String message, ResourceBlock resource, java.lang.RuntimeException innerException)
           Initializes a new instance of the PsdImageResourceException class.
 
Method Summary
 ResourceBlock getResource()
           Gets the psd resource which caused this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PsdImageResourceException

public PsdImageResourceException(java.lang.String message,
                                 ResourceBlock resource)

Initializes a new instance of the PsdImageResourceException class.

Parameters:
message - The exception message.
resource - The resource.

PsdImageResourceException

public PsdImageResourceException(java.lang.String message,
                                 ResourceBlock resource,
                                 java.lang.RuntimeException innerException)

Initializes a new instance of the PsdImageResourceException class.

Parameters:
message - The exception message.
resource - The resource.
innerException - The inner exception.
Method Detail

getResource

public ResourceBlock getResource()

Gets the psd resource which caused this exception.

Value: The resource.