|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.localization.BankFrameExceptionUtils
This class provides utility methods for manipulating BankFrameExceptions
Method Summary | |
static boolean |
containsBankFrameException(java.util.Vector dataPackets)
This method checks if the specified Vector of DataPackets contains a BankFrameException. |
static java.lang.String |
getMessage(java.util.Vector dataPackets,
java.util.Locale locale)
This method gets the error message for the specified BankFrameException response. |
static BankFrameException |
toBankFrameException(java.util.Vector dataPackets)
This method converts a DataPacket response to a BankFrameException instance. |
static java.util.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(java.util.Vector dataPackets)
dataPackets
- the vector of DataPackets
public static java.lang.String getMessage(java.util.Vector dataPackets, java.util.Locale locale)
dataPackets
- the vector containing the BankFrameException responselocale
- the locale of the exception message
public static BankFrameException toBankFrameException(java.util.Vector dataPackets)
dataPackets
- the DataPackets response
public static java.util.Vector toVectorResponse(BankFrameException ex)
ex
- a BankFrameException instance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |