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