org.pdfsam.emp4j.exceptions
Class ObjectKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pdfsam.emp4j.exceptions.ParentEmp4jException
org.pdfsam.emp4j.exceptions.ObjectKeyException
- All Implemented Interfaces:
- java.io.Serializable
public class ObjectKeyException
- extends ParentEmp4jException
It behaves getting error messages from the ExceptionMessageHandler using exceptionKeyCode key Object.
If you want to use ObjectKeyException as a superclass, your InquirableMessagesSource must be able to use
the Object key to get the exception type description.
- Author:
- Andrea Vacondio
- See Also:
InquirableMessagesSource,
Serialized Form
|
Constructor Summary |
ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode)
|
ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args)
|
ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args,
java.lang.Throwable e)
|
ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.Throwable e)
|
ObjectKeyException(java.lang.Object exceptionKeyCode,
java.lang.Throwable e)
Constructor using the DEFAULT_ERROR_CODE for this class |
ObjectKeyException(java.lang.Throwable t)
It doesn't use the emp4j framework to get the exception message. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectKeyException
public ObjectKeyException(java.lang.Throwable t)
- It doesn't use the emp4j framework to get the exception message.
- Parameters:
t -
ObjectKeyException
public ObjectKeyException(java.lang.Object exceptionKeyCode,
java.lang.Throwable e)
- Constructor using the DEFAULT_ERROR_CODE for this class
- Parameters:
exceptionKeyCode - Object key to get the exception type descriptione -
ObjectKeyException
public ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.Throwable e)
- Parameters:
exceptionKeyCode - Object key to get the exception type descriptionexceptionErrorCode - e -
ObjectKeyException
public ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args,
java.lang.Throwable e)
- Parameters:
exceptionKeyCode - Object key to get the exception type descriptionexceptionErrorCode - args - arguments used by the MessageFormat to substitue place holderse -
ObjectKeyException
public ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode)
- Parameters:
exceptionKeyCode - Object key to get the exception type descriptionexceptionErrorCode -
ObjectKeyException
public ObjectKeyException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args)
- Parameters:
exceptionKeyCode - Object key to get the exception type descriptionexceptionErrorCode - args - arguments used by the MessageFormat to substitue place holders