|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bankframe.localization.BankFrameException
com.bankframe.EonException
com.bankframe.ejb.ProcessingErrorException
public class ProcessingErrorException
This exception class is used by BankFrame Banking Processes to report a
general error condition that occurs during processing. Generally a
BankFrameMessage
object should be part of this exception. This
will point the the error message in the localized error message file.
Field Summary |
---|
Fields inherited from class com.bankframe.EonException |
---|
DEBUG |
Fields inherited from class com.bankframe.localization.BankFrameException |
---|
CHAINED_EXCEPTION_DIVIDER, CHAINED_JAVA_EXCEPTION_MSG, EXCEPTION_CLASS_NAME, EXCEPTION_NAME |
Constructor Summary | |
---|---|
ProcessingErrorException(BankFrameMessage msg)
This constructor creates a ProcessingErrorException with the specified message. |
|
ProcessingErrorException(BankFrameMessage message,
Throwable cause)
Constructor NOTE: The detail message associated with cause is not automatically incorporated in this exception's detail message. |
|
ProcessingErrorException(int errorNumber)
This constructor creates a processing error exception given an error number. |
|
ProcessingErrorException(int errorNumber,
Locale locale)
Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead. |
|
ProcessingErrorException(int errorNumber,
String[] parameters)
Deprecated. use ProcessingErrorException(BankFrameMessage msg, String[] parameters) instead. |
|
ProcessingErrorException(int errorNumber,
String[] parameters,
Locale locale)
Deprecated. use ProcessingErrorException(BankFrameMessage msg) instead. |
|
ProcessingErrorException(Throwable cause)
This constructor creates a chained exception. |
Method Summary | |
---|---|
DataPacket |
toDataPacket()
This method returns a data packet that represents this exception. |
Methods inherited from class com.bankframe.EonException |
---|
fromEonException, fromException, getMessage |
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 |
Constructor Detail |
---|
public ProcessingErrorException(int errorNumber)
errorNumber
- the error number, which is a key into the messages file.public ProcessingErrorException(int errorNumber, String[] parameters)
ProcessingErrorException(BankFrameMessage msg)
instead.
errorNumber
- Error number is a key into the messages file.parameters
- Array of parameters to be substituted into the error messagepublic ProcessingErrorException(int errorNumber, String[] parameters, Locale locale)
ProcessingErrorException(BankFrameMessage msg)
instead.
errorNumber
- Error number is a key into the messages file.parameters
- Array of parameters to be substituted into the error messagelocale
- The locale to use for localizing the error messagepublic ProcessingErrorException(int errorNumber, Locale locale)
errorNumber
- Error number is a key into the messages file.locale
- The locale to use for localizing the error message.public ProcessingErrorException(BankFrameMessage msg)
msg
- The exception message.public ProcessingErrorException(BankFrameMessage message, Throwable cause)
message
- the error message for the exceptioncause
- the original cause of this ProcessingErrorException. must not be null.public ProcessingErrorException(Throwable cause)
cause
- The original cause of the exception. cause must not be null.Method Detail |
---|
public DataPacket toDataPacket()
toDataPacket
in class EonException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |