Module java.base

Class AnnotationTypeMismatchException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.annotation.AnnotationTypeMismatchException
All Implemented Interfaces:
Serializable

public class AnnotationTypeMismatchException extends RuntimeException
Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized). This exception can be thrown by the API used to read annotations reflectively.
Since:
1.5
See Also: