common
Class ValidationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--common.ValidationException
- All Implemented Interfaces:
- Serializable
- public class ValidationException
- extends Exception
Exception class used to indicate that a transaction could not be performed
because something was not valid. The text message should indicate the
detailed cause of the problem.
- See Also:
- Serialized Form
ValidationException
public ValidationException(String msg)
- Constructor that takes a string msg and creates the exception.
Java note: because we're providing this contructor, there won't be
any "default" constructor, i.e., the message is required to create
a ValidationException.
- Parameters:
msg
- text indicating details of the validation failure.
Copyright © 2003 Team Two.