Package com.itextpdf.kernel.xmp
Class XMPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.kernel.xmp.XMPException
- All Implemented Interfaces:
-
Serializable
This exception wraps all errors that occur in the XMP Toolkit.
- Since:
- 16.02.2006
- See Also:
-
Constructor Summary
ConstructorDescriptionXMPException
(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XMPException
Constructs an exception with a message and an error code.- Parameters:
-
message
- the message -
errorCode
- the error code
-
XMPException
Constructs an exception with a message, an error code and aThrowable
- Parameters:
-
message
- the error message. -
errorCode
- the error code -
t
- the exception source
-
-
Method Details
-
getErrorCode
public int getErrorCode()- Returns:
- Returns the errorCode.
-