|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.glassfish.apf.AnnotationProcessorException
public class AnnotationProcessorException
Exception that denotes a warning or error condition in the annotation procesing tool
| Constructor Summary | |
|---|---|
AnnotationProcessorException(String message)
Creats a new annotation exception |
|
AnnotationProcessorException(String message,
AnnotationInfo locator)
Creates a new annotation exception |
|
| Method Summary | |
|---|---|
AnnotationInfo |
getLocator()
Return information about the annotation and annotated element which caused the exception or null if it is not available. |
String |
getMessage()
Return a meaningful string explaining the exception cause |
boolean |
isFatal()
|
void |
setFatal(boolean fatal)
Sets wether is exception is considered as fatal to the annotation processing. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationProcessorException(String message)
message - describing the exception cause
public AnnotationProcessorException(String message,
AnnotationInfo locator)
message - describing the exception causelocator - gives information about the annotation and
the annotated element which caused the exception| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic AnnotationInfo getLocator()
public String toString()
toString in class Throwablepublic boolean isFatal()
public void setFatal(boolean fatal)
true - if the annotation processing should stop
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||