| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
This is the base class for all Jaffa exceptions.
| Field Summary | |
| protected  Object[] | m_argumentsHolds value of property arguments. | 
| Constructor Summary | |
| protected  | CustomException(String errorCode)Creates an exception with the errorCode. | 
| protected  | CustomException(String errorCode,
                               Object[] arguments)Creates an exception with the errorCode and a cause. | 
| protected  | CustomException(String errorCode,
                               Object[] arguments,
                               Throwable cause)Creates an exception with the errorCode and a cause. | 
| Method Summary | |
|  Object[] | getArguments()Getter for property arguments. | 
|  String | getLocalizedMessage()This will look up the errorCode in the default resource bundle and return an appropriate message. | 
|  String | getMessage()Returns the message from the base class. | 
| 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 | 
| Field Detail | 
protected Object[] m_arguments
| Constructor Detail | 
protected CustomException(String errorCode)
errorCode - the errorCode
protected CustomException(String errorCode,
                          Object[] arguments)
errorCode - the errorCode.arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.
protected CustomException(String errorCode,
                          Object[] arguments,
                          Throwable cause)
errorCode - the errorCode.arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.cause - the cause.| Method Detail | 
public Object[] getArguments()
public String getLocalizedMessage()
public String getMessage()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||