1 *java.lang.annotation.IncompleteAnnotationException* *IncompleteAnnotationException*
3 public class IncompleteAnnotationException
4 extends |java.lang.RuntimeException|
6 |java.lang.annotation.IncompleteAnnotationException_Description|
7 |java.lang.annotation.IncompleteAnnotationException_Fields|
8 |java.lang.annotation.IncompleteAnnotationException_Constructors|
9 |java.lang.annotation.IncompleteAnnotationException_Methods|
11 ================================================================================
13 *java.lang.annotation.IncompleteAnnotationException_Constructors*
14 |java.lang.annotation.IncompleteAnnotationException(Class<?extendsAnnotation>,String)|
16 *java.lang.annotation.IncompleteAnnotationException_Methods*
17 |java.lang.annotation.IncompleteAnnotationException.annotationType()|Returns th
18 |java.lang.annotation.IncompleteAnnotationException.elementName()|Returns the n
20 *java.lang.annotation.IncompleteAnnotationException_Description*
22 Thrown to indicate that a program has attempted to access an element of an
23 annotation type that was added to the annotation type definition after the
24 annotation was compiled (or serialized). This exception will not be thrown if
25 the new element has a default value.
29 *java.lang.annotation.IncompleteAnnotationException(Class<?extendsAnnotation>,String)*
31 public IncompleteAnnotationException(
32 java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
33 java.lang.String elementName)
35 Constructs an IncompleteAnnotationException to indicate that the named element
36 was missing from the specified annotation type.
38 annotationType - the Class object for the annotation type
39 elementName - the name of the missing element
41 *java.lang.annotation.IncompleteAnnotationException.annotationType()*
43 public |java.lang.Class|<? extends java.lang.annotation.Annotation> annotationType()
45 Returns the Class object for the annotation type with the missing element.
49 Returns: the Class object for the annotation type with the missing element
51 *java.lang.annotation.IncompleteAnnotationException.elementName()*
53 public |java.lang.String| elementName()
55 Returns the name of the missing element.
59 Returns: the name of the missing element