APIdia Launch Partner
Top Description Fields Constructors Methods
sun.reflect.annotation

pack-priv Class AnnotationTypeMismatchExceptionProxy

extends ExceptionProxy
Class Inheritance
Imports
java.lang.annotation.*, java.lang.reflect.Method

ExceptionProxy for AnnotationTypeMismatchException.
Author
Josh Bloch
Since
1.5

Field Summary

Modifier and TypeField and Description
private final String
private Method
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv
AnnotationTypeMismatchExceptionProxy(String foundType)

It turns out to be convenient to construct these proxies in two stages.

Method Summary

Modifier and TypeMethod and Description
protected RuntimeException
pack-priv AnnotationTypeMismatchExceptionProxy
setMember(Method member)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

foundTypeback to summary
private final String foundType
memberback to summary
private Method member
Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
private static final long serialVersionUID

Hides sun.reflect.annotation.ExceptionProxy.serialVersionUID.

Annotations
@Serial

Constructor Detail

AnnotationTypeMismatchExceptionProxyback to summary
pack-priv AnnotationTypeMismatchExceptionProxy(String foundType)

It turns out to be convenient to construct these proxies in two stages. Since this is a private implementation class, we permit ourselves this liberty even though it's normally a very bad idea.

Method Detail

generateExceptionback to summary
protected RuntimeException generateException()

Implements abstract sun.reflect.annotation.ExceptionProxy.generateException.

setMemberback to summary
pack-priv AnnotationTypeMismatchExceptionProxy setMember(Method member)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override