|
|||||||||||
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 com.bankframe.validation.ValidationException
Bankframe ValidationException This exception is thrown when validation on an object fails
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 | |
ValidationException(BankFrameMessage msg)
This constructor creates a ValidationException using the specified message |
|
ValidationException(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 |
|
ValidationException(int errorNumber)
Constructor for creating a Validation Exception. |
|
ValidationException(int errorNumber,
java.util.Locale locale)
Deprecated. use ValidationException(BankFrameMessage msg) instead. |
|
ValidationException(int errorNumber,
java.lang.String[] parameters)
Constructor for creating a Validation Exception. |
|
ValidationException(int errorNumber,
java.lang.String[] parameters,
java.util.Locale locale)
Deprecated. use ValidationException(BankFrameMessage msg) instead. |
|
ValidationException(java.lang.Throwable cause)
This constructor creates a chained exception |
Method Summary | |
DataPacket |
toDataPacket()
Return a data packet that represents a Validation 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 ValidationException(BankFrameMessage msg)
msg
- The exception messagepublic ValidationException(java.lang.Throwable cause)
cause
- The original cause of the exception. cause must not be null.public ValidationException(BankFrameMessage message, java.lang.Throwable cause)
message
- The error message for the exceptioncause
- The original cause of this ProcessingErrorException. cause must
not be null.public ValidationException(int errorNumber)
errorNumber
- ErrorNumber is the key of the message to retrieve from the messages filepublic ValidationException(int errorNumber, java.util.Locale locale)
errorNumber
- ErrorNumber is the key of the message to retrieve from the messages filelocale
- The locale to use for localizing the error messagepublic ValidationException(int errorNumber, java.lang.String[] parameters)
errorNumber
- ErrorNumber is the key of the message to retrieve from the messages fileparameters
- Array containing the parameters to be substituted into the error messagepublic ValidationException(int errorNumber, java.lang.String[] parameters, java.util.Locale locale)
errorNumber
- ErrorNumber is the key of the message to retrieve from the messages fileparameters
- Array containing the parameters to be substituted into the error messagelocale
- The locale to use for localizing the error messageMethod Detail |
public DataPacket toDataPacket()
toDataPacket
in class EonException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |