|
||||||||||
| 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.services.devices.DeviceException
public class DeviceException
This exception is thrown by BankFrame MCA devices to indicate that a problem occured while attempting to process or parse the data retrieved from such a device.
| 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 | |
|---|---|
DeviceException(BankFrameMessage msg)
Constructor |
|
DeviceException(BankFrameMessage msg,
Throwable t)
Constructor |
|
DeviceException(int errorNumber)
Constructor to create a processing error exception given an error number. |
|
DeviceException(int errorNumber,
String[] parameters)
Constructor to create a device exception given an error number and parameters for the error message This method will be deprecated in a future version of BankFrame MCA. |
|
DeviceException(Throwable t)
Constructor |
|
| 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 DeviceException(Throwable t)
t - The cause of this exception
public DeviceException(BankFrameMessage msg,
Throwable t)
msg - The error messaget - The cause of this exceptionpublic DeviceException(BankFrameMessage msg)
msg - The error messagepublic DeviceException(int errorNumber)
errorNumber - Error number is a key into the messages file.
public DeviceException(int errorNumber,
String[] parameters)
errorNumber - Error number is a key into the messages file.parameters - Array of parameters to be substituted into the error message| 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 | |||||||||