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