|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.bankframe.localization.BankFrameException com.bankframe.EonException
This class is provided for backwards compatability with existing BankFrame code. This class has been superceded by com.bankframe.localization.BankFrameException. This class has been modified to extend BankFrameException. This class will be deprecated in a future version of BankFrame MCA
BankFrameException
,
Serialized FormField Summary | |
static boolean |
DEBUG
Turn error numbers on or off in the error output message |
Fields inherited from class com.bankframe.localization.BankFrameException |
CHAINED_EXCEPTION_DIVIDER, CHAINED_JAVA_EXCEPTION_MSG, EXCEPTION_CLASS_NAME, EXCEPTION_NAME |
Constructor Summary | |
EonException(BankFrameMessage msg)
This constructor creates an EonException using the specified message |
|
EonException(BankFrameMessage message,
java.lang.Throwable cause)
Constructor Note that the detail message associated with cause is not automatically incorporated in this exception's detail message |
|
EonException(int errorNumber)
EonException constructor specifying the error message to display. |
|
EonException(int errorNumber,
java.util.Locale locale)
Deprecated. use EonException(BankFrameMessage msg) instead. |
|
EonException(int errorNumber,
java.lang.String[] params)
EonException constructor specifying the error message to display and the parameters for the error message |
|
EonException(int errorNumber,
java.lang.String[] params,
java.util.Locale locale)
Deprecated. use EonException(BankFrameMessage msg) instead. |
|
EonException(java.lang.Throwable cause)
This constructor creates a chained exception |
Method Summary | |
EonException |
fromEonException(EonException exception)
Deprecated. use EonException(Throwable t) instead. |
EonException |
fromException(java.lang.Exception exception)
Deprecated. use EonException(Throwable t) instead. |
java.lang.String |
getMessage()
This method gets the error message as a localized String. |
DataPacket |
toDataPacket()
This method returns a data packet that represents this exception. |
Methods inherited from class com.bankframe.localization.BankFrameException |
getBankFrameMessage, getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static boolean DEBUG
Constructor Detail |
public EonException(int errorNumber)
errorNumber
- Error number for this exceptionpublic EonException(int errorNumber, java.lang.String[] params)
errorNumber
- Error number for this exceptionparams
- Array containing the parameters for this messagepublic EonException(int errorNumber, java.lang.String[] params, java.util.Locale locale)
errorNumber
- Error number for this exceptionparams
- Array containing the parameters for this messagelocale
- Locale the locale in which the exception will be handled.public EonException(int errorNumber, java.util.Locale locale)
errorNumber
- Error number for this exceptionlocale
- Locale the locale in which the exception will be handled.public EonException(BankFrameMessage msg)
msg
- The exception messagepublic EonException(BankFrameMessage message, java.lang.Throwable cause)
message
- The error message for the exceptioncause
- The original cause of this EonException. This parameter must
not be null.public EonException(java.lang.Throwable cause)
cause
- The original cause of the exception. This parameter must not be null.Method Detail |
public EonException fromEonException(EonException exception)
public EonException fromException(java.lang.Exception exception)
exception
- The exception to be transformedpublic java.lang.String getMessage()
getMessage(Locale locale)
instead.
getMessage
in class BankFrameException
public DataPacket toDataPacket()
toDataPacket
in class BankFrameException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |