com.bankframe.ejb
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bankframe.localization.BankFrameException
com.bankframe.EonException
com.bankframe.validation.ValidationException
com.bankframe.ejb.ValidationException
- All Implemented Interfaces:
- java.io.Serializable
Deprecated. Use com.bankframe.validation.ValidationException instead
- public class ValidationException
- extends ValidationException
This class describes the exception thrown when validation on an object fails
- See Also:
- Serialized Form
Constructor Summary |
ValidationException(int errorNumber)
Deprecated. This constructor creates a Validation Exception with a given error number |
ValidationException(int errorNumber,
java.util.Locale locale)
Deprecated. This constructor creates a Validation Exception with a given error number in
a given locale. |
ValidationException(int errorNumber,
java.lang.String[] parameters)
Deprecated. This constructor creates a Validation Exception with a given error number and
message parameters. |
ValidationException(int errorNumber,
java.lang.String[] parameters,
java.util.Locale locale)
Deprecated. This constructor creates a Validation Exception with a given error number and
message parameters in a given locale. |
Method Summary |
DataPacket |
toDataPacket()
Deprecated. This method returns a DataPacket that represents a Validation Exception. |
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 |
ValidationException
public ValidationException(int errorNumber)
- Deprecated.
- This constructor creates a Validation Exception with a given error number
- Parameters:
errorNumber
- the errorNumber is the key of the message to retrieve from the messages file
ValidationException
public ValidationException(int errorNumber,
java.lang.String[] parameters)
- Deprecated.
- This constructor creates a Validation Exception with a given error number and
message parameters.
- 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
ValidationException
public ValidationException(int errorNumber,
java.lang.String[] parameters,
java.util.Locale locale)
- Deprecated.
- This constructor creates a Validation Exception with a given error number and
message parameters in a given locale.
- 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 messagelocale
- The locale to use for localizing the error message
ValidationException
public ValidationException(int errorNumber,
java.util.Locale locale)
- Deprecated.
- This constructor creates a Validation Exception with a given error number in
a given locale.
- Parameters:
errorNumber
- ErrorNumber is the key of the message to retrieve from the messages filelocale
- The locale to use for localizing the error message
toDataPacket
public DataPacket toDataPacket()
- Deprecated.
- This method returns a DataPacket that represents a Validation Exception. The
DataPacket will have the name of FAILED VALIDATION.
- Overrides:
toDataPacket
in class ValidationException
- Returns:
- The DataPacket representation of the Exception.
Copyright © 2005, 2007, Oracle. All rights reserved.