Module java.base

Class IncompleteAnnotationException

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

public class IncompleteAnnotationException extends RuntimeException
Thrown to indicate that a program has attempted to access an element of an annotation interface that was added to the annotation interface definition after the annotation was compiled (or serialized). This exception will not be thrown if the new element has a default value. This exception can be thrown by the API used to read annotations reflectively.
Since:
1.5
See Also: