Package com.velocitypowered.api.plugin
Class InvalidPluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.velocitypowered.api.plugin.InvalidPluginException
- All Implemented Interfaces:
Serializable
Thrown if a JAR in the plugin directory does not look valid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with no detail message.InvalidPluginException(String message) Creates a new exception with the specified detail message.InvalidPluginException(String message, Throwable cause) Creates a new exception with the specified detail message and cause.InvalidPluginException(Throwable cause) Creates a new exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPluginException
public InvalidPluginException()Creates a new exception with no detail message. -
InvalidPluginException
Creates a new exception with the specified detail message.- Parameters:
message- the detail message
-
InvalidPluginException
Creates a new exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-
InvalidPluginException
Creates a new exception with the specified cause.- Parameters:
cause- the cause of the exception
-