public class MethodConstraintViolationException extends ValidationException
| Constructor and Description |
|---|
MethodConstraintViolationException(Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new
MethodConstraintViolationException. |
MethodConstraintViolationException(String message,
Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new
MethodConstraintViolationException. |
| Modifier and Type | Method and Description |
|---|---|
Set<MethodConstraintViolation<?>> |
getConstraintViolations()
Set of constraint violations reported during a validation
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.public Set<MethodConstraintViolation<?>> getConstraintViolations()
MethodConstraintViolation occurred during a method level validation call.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.