aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java
blob: c82e0fc8f9bb72d99f871bb8b3a265fb8fd4ae6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package ftbsc.lll.exceptions;

/**
 * Thrown upon failure to find an existing method from a stub.
 */
public class TargetNotFoundException extends RuntimeException {

   /**
    * Constructs a new target not found exception for the specified method stub.
    * @param stub the stub's name (and descriptor possibly)
    */
   public TargetNotFoundException(String stub) {
      super(String.format("Could not find member corresponding to stub: %s.", stub));
   }
}