org.apache.turbine.services.intake.validator
Class ValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.turbine.services.intake.validator.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.Exception

An Exception to mark a failed validation

Version:
$Id: ValidationException.java,v 1.1.1.1 2001/08/16 05:08:59 jvanzyl Exp $
Author:
Serialized Form

Constructor Summary
ValidationException(java.lang.String message)
          Creates a new ValidationException instance.
 
Method Summary
 java.lang.String getMessage()
          Get the value of message.
 void setMessage(java.lang.String v)
          Set the value of message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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(java.lang.String message)
Creates a new ValidationException instance.
Parameters:
message - describing the reason validation failed.
Method Detail

getMessage

public java.lang.String getMessage()
Get the value of message.
Overrides:
getMessage in class java.lang.Throwable
Returns:
value of message.

setMessage

public void setMessage(java.lang.String v)
Set the value of message.
Parameters:
v - Value to assign to message.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.