Class InvalidPluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bukkit.plugin.InvalidPluginException
- All Implemented Interfaces:
Serializable
Thrown when attempting to load an invalid Plugin file
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new InvalidPluginExceptionInvalidPluginException(String message) Constructs a new InvalidPluginException with the specified detail messageInvalidPluginException(String message, Throwable cause) Constructs a new InvalidPluginException with the specified detail message and cause.InvalidPluginException(Throwable cause) Constructs a new InvalidPluginException based on the given Exception -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPluginException
Constructs a new InvalidPluginException based on the given Exception- Parameters:
cause- Exception that triggered this Exception- Since:
- 1.0.0
-
InvalidPluginException
public InvalidPluginException()Constructs a new InvalidPluginException- Since:
- 1.0.0
-
InvalidPluginException
Constructs a new InvalidPluginException with the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by the getMessage() method).cause- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.1.0
-
InvalidPluginException
Constructs a new InvalidPluginException with the specified detail message- Parameters:
message- TThe detail message is saved for later retrieval by the getMessage() method.- Since:
- 1.1.0
-