se.unlogic.standardutils.validation
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by se.unlogic.standardutils.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends Exception

See Also:
Serialized Form

Constructor Summary
ValidationException(List<ValidationError> errors)
           
ValidationException(ValidationError... errors)
           
 
Method Summary
 List<ValidationError> getErrors()
           
 Element toXML(Document doc)
           
 
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(List<ValidationError> errors)

ValidationException

public ValidationException(ValidationError... errors)
Method Detail

getErrors

public List<ValidationError> getErrors()

toXML

public final Element toXML(Document doc)


Copyright © 2011. All Rights Reserved.