Class ExceptionProxy

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AnnotationTypeMismatchExceptionProxy

    abstract class ExceptionProxy
    extends java.lang.Object
    implements java.io.Serializable
    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.
    Since:
    1.5
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionProxy()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      protected abstract java.lang.RuntimeException generateException()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionProxy

        ExceptionProxy()
    • Method Detail

      • generateException

        protected abstract java.lang.RuntimeException generateException()