Files
Paper/paper-api/src/main/java/org/bukkit/plugin/UnknownSoftDependencyException.java
Bukkit/Spigot 855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00

45 lines
1.3 KiB
Java

package org.bukkit.plugin;
/**
* Thrown when attempting to load an invalid Plugin file
*/
public class UnknownSoftDependencyException extends UnknownDependencyException {
private static final long serialVersionUID = 5721389371901775899L;
/**
* Constructs a new UnknownSoftDependencyException based on the given Exception
*
* @param throwable Exception that triggered this Exception
*/
public UnknownSoftDependencyException(Throwable throwable) {
this(throwable, "Unknown soft dependency");
}
/**
* Constructs a new UnknownSoftDependencyException with the given message
*
* @param message Brief message explaining the cause of the exception
*/
public UnknownSoftDependencyException(final String message) {
this(null, message);
}
/**
* Constructs a new UnknownSoftDependencyException based on the given Exception
*
* @param message Brief message explaining the cause of the exception
* @param throwable Exception that triggered this Exception
*/
public UnknownSoftDependencyException(final Throwable throwable, final String message) {
super(throwable, message);
}
/**
* Constructs a new UnknownSoftDependencyException
*/
public UnknownSoftDependencyException() {
this(null, "Unknown dependency");
}
}