net.sf.jsefa.common.validator
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.jsefa.common.validator.ValidationException
All Implemented Interfaces:
Serializable

public final class ValidationException
extends RuntimeException

Exception thrown in case of a validation error.

Author:
Norman Lahme-Huetig
See Also:
Serialized Form

Constructor Summary
ValidationException(ValidationResult validationResult)
          Constructs a new ValidationException with the specified ValidationResult.
 
Method Summary
 ValidationResult getValidationResult()
           
 
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(ValidationResult validationResult)
Constructs a new ValidationException with the specified ValidationResult.

Parameters:
validationResult - the validation result
Method Detail

getValidationResult

public ValidationResult getValidationResult()
Returns:
the validation result


Copyright © 2014. All rights reserved.