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

Constructor Summary
ValidationException(String msg)
          Constructor that takes a string msg and creates the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.