Files
Paper/paper-api/src/main/java/org/bukkit/plugin/InvalidDescriptionException.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

46 lines
1.3 KiB
Java

package org.bukkit.plugin;
/**
* Thrown when attempting to load an invalid PluginDescriptionFile
*/
public class InvalidDescriptionException extends Exception {
private static final long serialVersionUID = 5721389122281775896L;
/**
* Constructs a new InvalidDescriptionException based on the given
* Exception
*
* @param message Brief message explaining the cause of the exception
* @param cause Exception that triggered this Exception
*/
public InvalidDescriptionException(final Throwable cause, final String message) {
super(message, cause);
}
/**
* Constructs a new InvalidDescriptionException based on the given
* Exception
*
* @param cause Exception that triggered this Exception
*/
public InvalidDescriptionException(final Throwable cause) {
super("Invalid plugin.yml", cause);
}
/**
* Constructs a new InvalidDescriptionException with the given message
*
* @param message Brief message explaining the cause of the exception
*/
public InvalidDescriptionException(final String message) {
super(message);
}
/**
* Constructs a new InvalidDescriptionException
*/
public InvalidDescriptionException() {
super("Invalid plugin.yml");
}
}