org.pdfsam.emp4j.exceptions
Class ClassNameKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pdfsam.emp4j.exceptions.ParentEmp4jException
              extended by 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

Field Summary
 
Fields inherited from class org.pdfsam.emp4j.exceptions.ParentEmp4jException
errorMessage, localizedErrorMessage
 
Constructor Summary
ClassNameKeyException(int exceptionErrorCode)
           
ClassNameKeyException(int exceptionErrorCode, java.lang.String[] args)
           
ClassNameKeyException(int exceptionErrorCode, java.lang.String[] args, java.lang.Throwable e)
           
ClassNameKeyException(int exceptionErrorCode, java.lang.Throwable e)
           
ClassNameKeyException(java.lang.Throwable e)
           
 
Method Summary
 
Methods inherited from class org.pdfsam.emp4j.exceptions.ParentEmp4jException
getExceptionMessage, getLocalizedExceptionMessage, getLocalizedMessage, getMessage
 
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
 

Constructor Detail

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 placeholders
e -

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