public class ProcessingException extends RuntimeException
| Constructor and Description |
|---|
ProcessingException(Element element,
AnnotationMirror annotation,
AnnotationValue annotationValue,
String message)
Creates a new exception.
|
ProcessingException(Element element,
AnnotationMirror annotation,
AnnotationValue annotationValue,
String format,
Object... args)
Creates a new exception.
|
ProcessingException(Element element,
AnnotationMirror annotation,
String message)
Creates a new exception.
|
ProcessingException(Element element,
AnnotationMirror annotation,
String format,
Object... args)
Creates a new exception.
|
ProcessingException(Element element,
String message)
Creates a new exception.
|
ProcessingException(Element element,
String format,
Object... args)
Creates a new exception.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationMirror |
getAnnotation()
The annotation where the error occurred.
|
AnnotationValue |
getAnnotationValue()
The value for the annotation that is invalid.
|
Element |
getElement()
The element the error occurred on.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProcessingException(Element element, String message)
element - the element the error occurs onmessage - the messagepublic ProcessingException(Element element, AnnotationMirror annotation, String message)
element - the element the error occurs onannotation - the annotation the error occurred onmessage - the messagepublic ProcessingException(Element element, AnnotationMirror annotation, AnnotationValue annotationValue, String message)
element - the element the error occurs onannotation - the annotation the error occurred onannotationValue - the annotation valuemessage - the messagepublic ProcessingException(Element element, String format, Object... args)
element - the element the error occurs onformat - the format for the messageargs - the arguments for the formatpublic ProcessingException(Element element, AnnotationMirror annotation, String format, Object... args)
element - the element the error occurs onannotation - the annotation the error occurred onformat - the format for the messageargs - the arguments for the formatpublic ProcessingException(Element element, AnnotationMirror annotation, AnnotationValue annotationValue, String format, Object... args)
element - the element the error occurs onannotation - the annotation the error occurred onannotationValue - the annotation valueformat - the format for the messageargs - the arguments for the formatpublic Element getElement()
public AnnotationMirror getAnnotation()
null if the error did not occur on an annotationpublic AnnotationValue getAnnotationValue()
nullCopyright © 2017 JBoss by Red Hat. All rights reserved.