JavaGantt 2011.1 API

eu.beesoft.gaia.validation
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by eu.beesoft.gaia.validation.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.RuntimeException

Exception for the validation errors support.

See Also:
Serialized Form

Constructor Summary
ValidationException(ValidationResult result)
          Creates a new instance of validation exception.
 
Method Summary
 ValidationResult getErrors()
          Returns the validation errors with which was this instance initialized.
 
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 result)
Creates a new instance of validation exception.

Parameters:
result - container of validation errors
Method Detail

getErrors

public ValidationResult getErrors()
Returns the validation errors with which was this instance initialized.

Returns:
validation errors

JavaGantt 2011.1 API