Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
InvalidPluginException.java
1 package org.bukkit.plugin;
2 
3 /**
4  * Thrown when attempting to load an invalid Plugin file
5  */
6 public class InvalidPluginException extends Exception {
7  private static final long serialVersionUID = -8242141640709409544L;
8 
9  /**
10  * Constructs a new InvalidPluginException based on the given Exception
11  *
12  * @param cause Exception that triggered this Exception
13  */
14  public InvalidPluginException(final Throwable cause) {
15  super(cause);
16  }
17 
18  /**
19  * Constructs a new InvalidPluginException
20  */
22 
23  }
24 
25  /**
26  * Constructs a new InvalidPluginException with the specified detail
27  * message and cause.
28  *
29  * @param message the detail message (which is saved for later retrieval
30  * by the getMessage() method).
31  * @param cause the cause (which is saved for later retrieval by the
32  * getCause() method). (A null value is permitted, and indicates that
33  * the cause is nonexistent or unknown.)
34  */
35  public InvalidPluginException(final String message, final Throwable cause) {
36  super(message, cause);
37  }
38 
39  /**
40  * Constructs a new InvalidPluginException with the specified detail
41  * message
42  *
43  * @param message TThe detail message is saved for later retrieval by the
44  * getMessage() method.
45  */
46  public InvalidPluginException(final String message) {
47  super(message);
48  }
49 }
InvalidPluginException(final String message, final Throwable cause)