public class ConstraintCheckError extends Object
ConstraintCheck. Comprises
information about the location at which the error occurred and a message
describing the occurred error.| Constructor and Description |
|---|
ConstraintCheckError(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotationMirror,
String messageKey,
Object... messageParameters)
Creates a new ConstraintCheckError.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
javax.lang.model.element.AnnotationMirror |
getAnnotationMirror() |
javax.lang.model.element.Element |
getElement() |
String |
getMessageKey() |
Object[] |
getMessageParameters() |
int |
hashCode() |
String |
toString() |
public ConstraintCheckError(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotationMirror,
String messageKey,
Object... messageParameters)
element - The element at which the error occurred.annotationMirror - The annotation that causes the error.messageKey - A key for retrieving an error message template from the bundle
org.hibernate.validator.ap.ValidationProcessorMessages.messageParameters - An array with values to put into the error message template
using MessageFormat. The number of elements must match
the number of place holders in the message template.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved