public class JSR303ViolationException extends StructuralCommandValidationFailedException
Constructor and Description |
---|
JSR303ViolationException(String message,
Set<javax.validation.ConstraintViolation<Object>> violations)
Initializes an exception with the given
message and violations . |
Modifier and Type | Method and Description |
---|---|
Set<javax.validation.ConstraintViolation<Object>> |
getViolations()
Returns the violations that were detected when this exception was thrown.
|
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JSR303ViolationException(String message, Set<javax.validation.ConstraintViolation<Object>> violations)
message
and violations
.message
- A descriptive message of the failureviolations
- The violations that were detectedCopyright © 2010-2014. All Rights Reserved.