public class ProcessingException extends Exception
Constructor and Description |
---|
ProcessingException()
Constructor.
|
ProcessingException(String message)
Constructor.
|
ProcessingException(String message,
Element element)
Constructor.
|
ProcessingException(String message,
Element element,
AnnotationMirror annotation)
Constructor.
|
ProcessingException(String message,
Element element,
AnnotationMirror annotation,
AnnotationValue value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
print(Messager msgr)
Prints the message provided in the constructor (if any) to a given
Messager with a diagnostic
kind of Diagnostic.Kind#ERROR . |
boolean |
print(Messager msgr,
Diagnostic.Kind diagnosticKind)
Prints the message provided in the constructor (if any) to a given
Messager with the specified
diagnostic kind. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProcessingException()
public ProcessingException(String message)
message
- the error messagepublic ProcessingException(String message, Element element)
message
- the error messageelement
- the Element
this error message refers topublic ProcessingException(String message, Element element, AnnotationMirror annotation)
message
- the error messageelement
- the Element
this error message refers toannotation
- the annotation of element
this error message refers topublic ProcessingException(String message, Element element, AnnotationMirror annotation, AnnotationValue value)
message
- the error messageelement
- the Element
this error message refers toannotation
- the annotation of element
this error message refers tovalue
- the value of the annotation
this error message refers topublic boolean print(Messager msgr)
Messager
with a diagnostic
kind of Diagnostic.Kind#ERROR
.msgr
- the messagertrue
if a message has been printed, false
otherwise#print(Messager, Kind)
public boolean print(Messager msgr, Diagnostic.Kind diagnosticKind)
Messager
with the specified
diagnostic kind.msgr
- the messagerdiagnosticKind
- the diagnostic kind of this messagetrue
if a message has been printed, false
otherwiseCopyright © 2013–2014. All rights reserved.