org.pdfsam.emp4j.exceptions
Class ParentEmp4jException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pdfsam.emp4j.exceptions.ParentEmp4jException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClassNameKeyException, ObjectKeyException
public class ParentEmp4jException
- extends java.lang.Exception
Parent exception with already implemented protected methods getExceptionMessage and getLocalizedExceptionMessage.
- Author:
- Andrea Vacondio
- See Also:
ExceptionMessageProvider
,
Serialized Form
Constructor Summary |
ParentEmp4jException()
Empty constructor. |
ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode)
|
ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args)
|
ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.String[] args,
java.lang.Throwable e)
|
ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.Throwable e)
|
ParentEmp4jException(java.lang.String errorMessage)
It doesn't use the emp4j framework to get the exception message. |
ParentEmp4jException(java.lang.String errorMessage,
java.lang.Throwable t)
It doesn't use the emp4j framework to get the exception message. |
ParentEmp4jException(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 |
errorMessage
protected java.lang.String errorMessage
localizedErrorMessage
protected java.lang.String localizedErrorMessage
ParentEmp4jException
public ParentEmp4jException()
- Empty constructor.
It doesn't use the emp4j framework to get the exception message.
ParentEmp4jException
public ParentEmp4jException(java.lang.String errorMessage)
- It doesn't use the emp4j framework to get the exception message.
- Parameters:
errorMessage
-
ParentEmp4jException
public ParentEmp4jException(java.lang.Throwable t)
- It doesn't use the emp4j framework to get the exception message.
- Parameters:
t
-
ParentEmp4jException
public ParentEmp4jException(java.lang.String errorMessage,
java.lang.Throwable t)
- It doesn't use the emp4j framework to get the exception message.
- Parameters:
errorMessage
- t
-
ParentEmp4jException
public ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode,
java.lang.Throwable e)
- Parameters:
exceptionKeyCode
- Object key to get the exception type descriptionexceptionErrorCode
- e
-
ParentEmp4jException
public ParentEmp4jException(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 placeholderse
-
ParentEmp4jException
public ParentEmp4jException(java.lang.Object exceptionKeyCode,
int exceptionErrorCode)
- Parameters:
exceptionKeyCode
- Object key to get the exception type descriptionexceptionErrorCode
-
ParentEmp4jException
public ParentEmp4jException(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 substitute place holders
getExceptionMessage
protected java.lang.String getExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode,
java.lang.String[] args)
- Parameters:
exceptionTypeKey
- exceptionErrorCode
- args
-
- Returns:
- message
getLocalizedExceptionMessage
protected java.lang.String getLocalizedExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode,
java.lang.String[] args)
- Parameters:
exceptionTypeKey
- exceptionErrorCode
- args
-
- Returns:
- localized message
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class java.lang.Throwable