|
||||||||||
| 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
@Deprecated public class MethodConstraintViolationException
Exception class to be thrown by integrators of HV's method level validation feature.
| Constructor Summary | |
|---|---|
MethodConstraintViolationException(Set<? extends MethodConstraintViolation<?>> constraintViolations)
Deprecated. Creates a new new MethodConstraintViolationException. |
|
MethodConstraintViolationException(String message,
Set<? extends MethodConstraintViolation<?>> constraintViolations)
Deprecated. Creates a new new MethodConstraintViolationException. |
|
| Method Summary | |
|---|---|
Set<MethodConstraintViolation<?>> |
getConstraintViolations()
Deprecated. 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(Set<? extends MethodConstraintViolation<?>> constraintViolations)
MethodConstraintViolationException.
constraintViolations - A set of constraint violations for which this exception shall be created.
public MethodConstraintViolationException(String message,
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 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 | |||||||||