magoffin.matt.ma2
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by magoffin.matt.ma2.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.RuntimeException

Application exception for validation errors.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)
See Also:
Serialized Form

Constructor Summary
ValidationException()
          Default constructor.
ValidationException(org.springframework.validation.Errors errors)
          Constructor with Errors.
 
Method Summary
 org.springframework.validation.Errors getErrors()
           
 void setErrors(org.springframework.validation.Errors errors)
           
 
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()
Default constructor.


ValidationException

public ValidationException(org.springframework.validation.Errors errors)
Constructor with Errors.

Parameters:
errors -
Method Detail

getErrors

public org.springframework.validation.Errors getErrors()
Returns:
Returns the errors.

setErrors

public void setErrors(org.springframework.validation.Errors errors)
Parameters:
errors - The errors to set.