org.apache.geronimo.validator
Class ValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.geronimo.validator.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends RuntimeException

Used by the provided validation logic to indicate that a fatal error has occured and the validation has failed. Typically tests should not use this, instead returning a ValidationResult to indicate an error. This should only be used when there's an urgent need to abort. It is a runtime exception because no user-provided validation code needs to catch it; it will be trapped by the core validator implementation.

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:58:44 $
See Also:
Serialized Form

Constructor Summary
ValidationException()
           
ValidationException(String message)
           
ValidationException(String message, Throwable cause)
           
ValidationException(Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException()

ValidationException

public ValidationException(Throwable cause)

ValidationException

public ValidationException(String message)

ValidationException

public ValidationException(String message,
                           Throwable cause)


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.