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$
Author:
Serialized Form

Field Summary
private  java.lang.String message
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
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, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

message

private java.lang.String message
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 © 1999-2001 Apache Software Foundation. All Rights Reserved.