Files
Paper/paper-api/src/main/java/org/bukkit/plugin/InvalidPluginException.java
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00

50 lines
1.4 KiB
Java

package org.bukkit.plugin;
/**
* Thrown when attempting to load an invalid Plugin file
*/
public class InvalidPluginException extends Exception {
private static final long serialVersionUID = -8242141640709409544L;
/**
* Constructs a new InvalidPluginException based on the given Exception
*
* @param cause Exception that triggered this Exception
*/
public InvalidPluginException(final Throwable cause) {
super(cause);
}
/**
* Constructs a new InvalidPluginException
*/
public InvalidPluginException() {
}
/**
* Constructs a new InvalidPluginException with the specified detail
* message and cause.
*
* @param message the detail message (which is saved for later retrieval
* by the getMessage() method).
* @param 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.)
*/
public InvalidPluginException(final String message, final Throwable cause) {
super(message, cause);
}
/**
* Constructs a new InvalidPluginException with the specified detail
* message
*
* @param message TThe detail message is saved for later retrieval by the
* getMessage() method.
*/
public InvalidPluginException(final String message) {
super(message);
}
}