org.jboss.seam.rest.validation
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.seam.rest.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
ValidationException(Set<ConstraintViolation<Object>> violations)
           
 
Method Summary
 String getMessage()
           
 Set<ConstraintViolation<Object>> getViolations()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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(Set<ConstraintViolation<Object>> violations)
Method Detail

getViolations

public Set<ConstraintViolation<Object>> getViolations()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011 Seam Framework. All Rights Reserved.