public class ConstraintViolationException extends ValidationException
コンストラクタと説明 |
---|
ConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report.
|
ConstraintViolationException(String message,
Set<? extends ConstraintViolation<?>> constraintViolations)
Creates a constraint violation report.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Set<ConstraintViolation<?>> |
getConstraintViolations()
Returns the set of constraint violations reported during a validation.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConstraintViolationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations)
message
- error messageconstraintViolations
- a Set
of ConstraintViolation
s or nullpublic ConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
constraintViolations
- a Set
of ConstraintViolation
s or nullpublic Set<ConstraintViolation<?>> getConstraintViolations()
Set
of ConstraintViolation
s or nullCopyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.