java.lang.annotation.AnnotationTypeMismatchException
Indicates that an annotation type has changed since it was compiled or
serialized.
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
AnnotationTypeMismatchException(Method element, String foundType)
Constructs an instance for the given type element and the type found.
Parameters
element
| the annotation type element. |
foundType
| the invalid type that was found. This is actually the textual
type description found in the binary class representation,
so it may not be human-readable. |
Public Methods
public
Method
element()
Returns the method object for the invalid type.
public
String
foundType()
Returns the invalid type.
Returns
- a string describing the invalid data.