|
||||||||||
| 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.validation.ValidationException
public class 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,
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,
Locale locale)
Deprecated. use ValidationException(BankFrameMessage msg) instead. |
|
ValidationException(int errorNumber,
String[] parameters)
Constructor for creating a Validation Exception. |
|
ValidationException(int errorNumber,
String[] parameters,
Locale locale)
Deprecated. use ValidationException(BankFrameMessage msg) instead. |
|
ValidationException(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(Throwable cause)
cause - The original cause of the exception. cause must not be null.
public ValidationException(BankFrameMessage message,
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 file
public ValidationException(int errorNumber,
Locale locale)
errorNumber - ErrorNumber is the key of the message to retrieve from the messages filelocale - The locale to use for localizing the error message
public ValidationException(int errorNumber,
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 message
public ValidationException(int errorNumber,
String[] parameters,
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 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 | |||||||||