Class TargetNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TargetNotFoundException
    extends java.lang.RuntimeException
    Thrown upon failure to find an existing method from a stub.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TargetNotFoundException​(java.lang.String type, java.lang.String member)
      Constructs a new target not found exception for the specified method stub.
      TargetNotFoundException​(java.lang.String type, java.lang.String member, java.lang.String parent)
      Constructs a new target not found exception for the specified method stub.
    • 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

      • TargetNotFoundException

        public TargetNotFoundException​(java.lang.String type,
                                       java.lang.String member)
        Constructs a new target not found exception for the specified method stub.
        Parameters:
        type - the type of element being sought (class, method, etc.)
        member - the stub's name (and descriptor possibly)
      • TargetNotFoundException

        public TargetNotFoundException​(java.lang.String type,
                                       java.lang.String member,
                                       java.lang.String parent)
        Constructs a new target not found exception for the specified method stub.
        Parameters:
        type - the type of element being sought (class, method, etc.)
        member - the stub's name (and descriptor possibly)
        parent - the parent of the member