java.lang.annotation.IncompleteAnnotationException
Indicates that an element of an annotation type was accessed that was added
after the type was compiled or serialized. This does not apply to new
elements that have default values.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)
Constructs an instance with the incomplete annotation type and the name
of the element that's missing.
Parameters
annotationType
| the annotation type. |
elementName
| the name of the incomplete element. |
Public Methods
public
Class<? extends Annotation>
annotationType()
Returns the annotation type.
public
String
elementName()
Returns the incomplete element's name.