javax.validation
Class ConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.validation.ValidationException
                  extended by javax.validation.ConstraintViolationException
All Implemented Interfaces:
Serializable

public class ConstraintViolationException
extends ValidationException

Version:
$Rev$ $Date$
See Also:
Serialized Form

Constructor Summary
ConstraintViolationException(Set<ConstraintViolation<?>> constraintViolations)
           
ConstraintViolationException(String message, Set<ConstraintViolation<?>> constraintViolations)
           
 
Method Summary
 Set<ConstraintViolation<?>> getConstraintViolations()
           
 
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

ConstraintViolationException

public ConstraintViolationException(String message,
                                    Set<ConstraintViolation<?>> constraintViolations)

ConstraintViolationException

public ConstraintViolationException(Set<ConstraintViolation<?>> constraintViolations)
Method Detail

getConstraintViolations

public Set<ConstraintViolation<?>> getConstraintViolations()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.