1 *java.lang.annotation.AnnotationTypeMismatchException* *AnnotationTypeMismatchException*
3 public class AnnotationTypeMismatchException
4 extends |java.lang.RuntimeException|
6 |java.lang.annotation.AnnotationTypeMismatchException_Description|
7 |java.lang.annotation.AnnotationTypeMismatchException_Fields|
8 |java.lang.annotation.AnnotationTypeMismatchException_Constructors|
9 |java.lang.annotation.AnnotationTypeMismatchException_Methods|
11 ================================================================================
13 *java.lang.annotation.AnnotationTypeMismatchException_Constructors*
14 |java.lang.annotation.AnnotationTypeMismatchException(Method,String)|Constructs
16 *java.lang.annotation.AnnotationTypeMismatchException_Methods*
17 |java.lang.annotation.AnnotationTypeMismatchException.element()|Returns the Met
18 |java.lang.annotation.AnnotationTypeMismatchException.foundType()|Returns the t
20 *java.lang.annotation.AnnotationTypeMismatchException_Description*
22 Thrown to indicate that a program has attempted to access an element of an
23 annotation whose type has changed after the annotation was compiled (or
28 *java.lang.annotation.AnnotationTypeMismatchException(Method,String)*
30 public AnnotationTypeMismatchException(
31 java.lang.reflect.Method element,
32 java.lang.String foundType)
34 Constructs an AnnotationTypeMismatchException for the specified annotation type
35 element and found data type.
37 element - the Method object for the annotation element
38 foundType - the (erroneous) type of data found in the annotation. This string may, but is
39 not required to, contain the value as well. The exact format of the
40 string is unspecified.
42 *java.lang.annotation.AnnotationTypeMismatchException.element()*
44 public |java.lang.reflect.Method| element()
46 Returns the Method object for the incorrectly typed element.
50 Returns: the Method object for the incorrectly typed element
52 *java.lang.annotation.AnnotationTypeMismatchException.foundType()*
54 public |java.lang.String| foundType()
56 Returns the type of data found in the incorrectly typed element. The returned
57 string may, but is not required to, contain the value as well. The exact format
58 of the string is unspecified.
62 Returns: the type of data found in the incorrectly typed element