Top Description Fields Constructors Methods
sun.reflect.annotation

public abstract Class ExceptionProxy

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Known Direct Subclasses
sun.reflect.annotation.TypeNotPresentExceptionProxy, sun.reflect.annotation.AnnotationTypeMismatchExceptionProxy, sun.reflect.annotation.EnumConstantNotPresentExceptionProxy

An instance of this class is stored in an AnnotationInvocationHandler's "memberValues" map in lieu of a value for an annotation member that cannot be returned due to some exceptional condition (typically some form of illegal evolution of the annotation class). The ExceptionProxy instance describes the exception that the dynamic proxy should throw if it is queried for this member.
Author
Josh Bloch
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract RuntimeException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID
Annotations
@Serial

Constructor Detail

ExceptionProxyback to summary
public ExceptionProxy()

Method Detail

generateExceptionback to summary
protected abstract RuntimeException generateException()