com.itextpdf.xmp
Class XMPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.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 |
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 a Throwable |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
XMPException
public XMPException(String message,
int errorCode)
- Constructs an exception with a message and an error code.
- Parameters:
message
- the messageerrorCode
- the error code
XMPException
public XMPException(String message,
int errorCode,
Throwable t)
- Constructs an exception with a message, an error code and a
Throwable
- Parameters:
message
- the error message.errorCode
- the error codet
- the exception source
getErrorCode
public int getErrorCode()
- Returns:
- Returns the errorCode.
Copyright © 2014. All Rights Reserved.