Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
UnknownDependencyException.java
1 package org.bukkit.plugin;
2 
3 /**
4  * Thrown when attempting to load an invalid Plugin file
5  */
6 public class UnknownDependencyException extends RuntimeException {
7 
8  private static final long serialVersionUID = 5721389371901775895L;
9 
10  /**
11  * Constructs a new UnknownDependencyException based on the given
12  * Exception
13  *
14  * @param throwable Exception that triggered this Exception
15  */
16  public UnknownDependencyException(final Throwable throwable) {
17  super(throwable);
18  }
19 
20  /**
21  * Constructs a new UnknownDependencyException with the given message
22  *
23  * @param message Brief message explaining the cause of the exception
24  */
25  public UnknownDependencyException(final String message) {
26  super(message);
27  }
28 
29  /**
30  * Constructs a new UnknownDependencyException based on the given
31  * Exception
32  *
33  * @param message Brief message explaining the cause of the exception
34  * @param throwable Exception that triggered this Exception
35  */
36  public UnknownDependencyException(final Throwable throwable, final String message) {
37  super(message, throwable);
38  }
39 
40  /**
41  * Constructs a new UnknownDependencyException
42  */
44 
45  }
46 }
UnknownDependencyException(final Throwable throwable, final String message)