Class NotAProxyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotAProxyException
    extends java.lang.RuntimeException
    Thrown when a method is annotated with Find but does not return a known instance of AbstractProxy.
    Since:
    0.5.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NotAProxyException​(java.lang.String parent, java.lang.String method)
      Constructs an exception for the specified method.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • NotAProxyException

        public NotAProxyException​(java.lang.String parent,
                                  java.lang.String method)
        Constructs an exception for the specified method.
        Parameters:
        parent - the FQN of the class containing the method
        method - the name of the method wrongly annotated