AnnotationTypeMismatchException


AnnotationTypeMismatchException java.lang.annotation

Java 5.0 serializable unchecked

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.AnnotationTypeMismatchException

 public 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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net