edu.nrao.sss.validation
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.nrao.sss.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends RuntimeException
implements Serializable

Thrown when one or more validation failures are detected.

Version Info:

$Revision: 329 $
$Date: 2007-02-06 11:43:05 -0700 (Tue, 06 Feb 2007) $
$Author: dharland $

Since:
2007-01-26
Author:
Brian Truitt
See Also:
Serialized Form

Constructor Summary
ValidationException()
          Creates a new instance.
ValidationException(String msg)
          Creates a new instance with the given message.
ValidationException(String msg, Throwable th)
          Creates a new instance with the given message and cause.
ValidationException(Throwable th)
          Creates a new instance with the given cause.
 
Method Summary
 List<ValidationFailure> getFailures()
          Returns the list of failures held by this exception.
 
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()
Creates a new instance.


ValidationException

public ValidationException(String msg)
Creates a new instance with the given message.


ValidationException

public ValidationException(String msg,
                           Throwable th)
Creates a new instance with the given message and cause.


ValidationException

public ValidationException(Throwable th)
Creates a new instance with the given cause.

Method Detail

getFailures

public List<ValidationFailure> getFailures()
Returns the list of failures held by this exception.

Returns:
the list of failures held by this exception.


Copyright © 2009. All Rights Reserved.