|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.validation.ValidationException
org.hibernate.validator.method.MethodConstraintViolationException
public class MethodConstraintViolationException
Exception class to be thrown by integrators of HV's method level validation feature.
| Constructor Summary | |
|---|---|
MethodConstraintViolationException(java.util.Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new MethodConstraintViolationException. |
|
MethodConstraintViolationException(java.lang.String message,
java.util.Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new MethodConstraintViolationException. |
|
| Method Summary | |
|---|---|
java.util.Set<MethodConstraintViolation<?>> |
getConstraintViolations()
Set of constraint violations reported during a validation |
| 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 |
|---|
public MethodConstraintViolationException(java.util.Set<? extends MethodConstraintViolation<?>> constraintViolations)
MethodConstraintViolationException.
constraintViolations - A set of constraint violations for which this exception shall be created.
public MethodConstraintViolationException(java.lang.String message,
java.util.Set<? extends MethodConstraintViolation<?>> constraintViolations)
MethodConstraintViolationException.
message - The message for the exception to be created.constraintViolations - A set of constraint violations for which this exception shall be created.| Method Detail |
|---|
public java.util.Set<MethodConstraintViolation<?>> getConstraintViolations()
MethodConstraintViolation occurred during a method level validation call.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||