Package com.strobel.reflection.emit
Class AnnotationTypeMismatchExceptionProxy
- java.lang.Object
-
- com.strobel.reflection.emit.ExceptionProxy
-
- com.strobel.reflection.emit.AnnotationTypeMismatchExceptionProxy
-
- All Implemented Interfaces:
java.io.Serializable
final class AnnotationTypeMismatchExceptionProxy extends ExceptionProxy
ExceptionProxy for AnnotationTypeMismatchException.- Since:
- 1.5
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
foundType
private java.lang.reflect.Method
member
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AnnotationTypeMismatchExceptionProxy(java.lang.String foundType)
It turns out to be convenient to construct these proxies in two stages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.RuntimeException
generateException()
(package private) AnnotationTypeMismatchExceptionProxy
setMember(java.lang.reflect.Method member)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
member
private java.lang.reflect.Method member
-
foundType
private final java.lang.String foundType
-
-
Constructor Detail
-
AnnotationTypeMismatchExceptionProxy
AnnotationTypeMismatchExceptionProxy(java.lang.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
-
setMember
AnnotationTypeMismatchExceptionProxy setMember(java.lang.reflect.Method member)
-
generateException
protected java.lang.RuntimeException generateException()
- Specified by:
generateException
in classExceptionProxy
-
-