Package com.adobe.xmp

Class XMPException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XMPException
    extends java.lang.Exception
    This exception wraps all errors that occur in the XMP Toolkit.
    Since:
    16.02.2006
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XMPException​(java.lang.String message, int errorCode)
      Constructs an exception with a message and an error code.
      XMPException​(java.lang.String message, int errorCode, java.lang.Throwable t)
      Constructs an exception with a message, an error code and a Throwable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XMPException

        public XMPException​(java.lang.String message,
                            int errorCode)
        Constructs an exception with a message and an error code.
        Parameters:
        message - the message
        errorCode - the error code
      • XMPException

        public XMPException​(java.lang.String message,
                            int errorCode,
                            java.lang.Throwable t)
        Constructs an exception with a message, an error code and a Throwable
        Parameters:
        message - the error message.
        errorCode - the error code
        t - the exception source
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Returns:
        Returns the errorCode.