An exception of this type indicates version skew in an annotation type. It occurs when the Java VM attempts to read an annotation from a class file and discovers that the type of an annotation member has changed since the class file (and the annotation it contains) was compiled. Figure 10-75. java.lang.annotation.AnnotationTypeMismatchExceptionpublic class AnnotationTypeMismatchException extends RuntimeException { // Public Constructors public AnnotationTypeMismatchException (java.lang.reflect.Method element , String foundType ); // Public Instance Methods public java.lang.reflect.Method element ( ); public String foundType ( ); } |