Module java.base

Class AnnotationFormatError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.annotation.AnnotationFormatError
All Implemented Interfaces:
Serializable

public class AnnotationFormatError extends Error
Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed. This error can be thrown by the API used to read annotations reflectively.
Since:
1.5
See Also: