Package com.adobe.xmp
Class XMPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.adobe.xmp.XMPException
-
- All Implemented Interfaces:
Serializable
public class XMPException extends 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(String message, int errorCode)
Constructs an exception with a message and an error code.XMPException(String message, int errorCode, Throwable t)
Constructs an exception with a message, an error code and aThrowable
-
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
-
-
-
-
Constructor Detail
-
XMPException
public XMPException(String message, int errorCode)
Constructs an exception with a message and an error code.- Parameters:
message
- the messageerrorCode
- the error code
-
-