|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.annotation.IncompleteAnnotationException
public class IncompleteAnnotationException
Disabled: no SafeJ information.
Thrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized). This exception will not be thrown if the new element has a default value. This exception can be thrown by the API used to read annotations reflectively.
AnnotatedElement
,
Serialized FormConstructor Summary | |
---|---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation type. |
Method Summary | |
---|---|
Class<? extends Annotation> |
annotationType()
Returns the Class object for the annotation type with the missing element. |
String |
elementName()
Returns the name of the missing element. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)
annotationType
- the Class object for the annotation typeelementName
- the name of the missing elementMethod Detail |
---|
public Class<? extends Annotation> annotationType()
public String elementName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |