|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.localization.BankFrameExceptionUtils
public class BankFrameExceptionUtils
This class provides utility methods for manipulating BankFrameExceptions
Method Summary | |
---|---|
static boolean |
containsBankFrameException(Vector dataPackets)
This method checks if the specified Vector of DataPackets contains a BankFrameException. |
static String |
getMessage(Vector dataPackets,
Locale locale)
This method gets the error message for the specified BankFrameException response. |
static BankFrameException |
toBankFrameException(Vector dataPackets)
This method converts a DataPacket response to a BankFrameException instance. |
static Vector |
toVectorResponse(BankFrameException ex)
This method converts a BankFrame Exception to a DataPacket response. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean containsBankFrameException(Vector dataPackets)
dataPackets
- the vector of DataPackets
public static String getMessage(Vector dataPackets, Locale locale)
dataPackets
- the vector containing the BankFrameException responselocale
- the locale of the exception message
public static BankFrameException toBankFrameException(Vector dataPackets)
dataPackets
- the DataPackets response
public static Vector toVectorResponse(BankFrameException ex)
ex
- a BankFrameException instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |