22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.reflect.annotation; 27 28 /** 29 * An instance of this class is stored in an AnnotationInvocationHandler's 30 * "memberValues" map in lieu of a value for an annotation member that 31 * cannot be returned due to some exceptional condition (typically some 32 * form of illegal evolution of the annotation class). The ExceptionProxy 33 * instance describes the exception that the dynamic proxy should throw if 34 * it is queried for this member. 35 * 36 * @author Josh Bloch 37 * @since 1.5 38 */ 39 public abstract class ExceptionProxy implements java.io.Serializable { 40 private static final long serialVersionUID = 7241930048386631401L; 41 protected abstract RuntimeException generateException(); 42 } | 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.reflect.annotation; 27 28 /** 29 * An instance of this class is stored in an AnnotationInvocationHandler's 30 * "memberValues" map in lieu of a value for an annotation member that 31 * cannot be returned due to some exceptional condition (typically some 32 * form of illegal evolution of the annotation class). The ExceptionProxy 33 * instance describes the exception that the dynamic proxy should throw if 34 * it is queried for this member. 35 * 36 * @author Josh Bloch 37 * @since 1.5 38 */ 39 public abstract class ExceptionProxy implements java.io.Serializable { 40 private static final long serialVersionUID = 7241930048386631401L; 41 protected abstract RuntimeException generateException(); 42 /** 43 * String to use when printed out in an annotation 44 */ 45 public abstract String memberToString(); 46 } |