org.pdfsam.emp4j.exceptions
Class ClassNameKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pdfsam.emp4j.exceptions.ParentEmp4jException
org.pdfsam.emp4j.exceptions.ClassNameKeyException
- All Implemented Interfaces:
- java.io.Serializable
public class ClassNameKeyException
- extends ParentEmp4jException
It behaves getting error messages from the ExceptionMessageHandler using the class name as a key String.
If you want to use ClassNameKeyException
as a superclass, your InquirableMessagesSource
must use the class name as key to get
the exception type description.
- Author:
- Andrea Vacondio
- See Also:
InquirableMessagesSource
,
Serialized Form
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 |
ClassNameKeyException
public ClassNameKeyException(java.lang.Throwable e)
- Parameters:
e
-
ClassNameKeyException
public ClassNameKeyException(int exceptionErrorCode,
java.lang.Throwable e)
- Parameters:
exceptionErrorCode
- e
-
ClassNameKeyException
public ClassNameKeyException(int exceptionErrorCode,
java.lang.String[] args,
java.lang.Throwable e)
- Parameters:
exceptionErrorCode
- args
- arguments used by the MessageFormat to substitue placeholderse
-
ClassNameKeyException
public ClassNameKeyException(int exceptionErrorCode)
- Parameters:
exceptionErrorCode
-
ClassNameKeyException
public ClassNameKeyException(int exceptionErrorCode,
java.lang.String[] args)
- Parameters:
exceptionErrorCode
- args
- arguments used by the MessageFormat to substitue placeholders