Class ServerSchedulerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.destroystokyo.paper.exception.ServerException
com.destroystokyo.paper.exception.ServerPluginException
com.destroystokyo.paper.exception.ServerSchedulerException
- All Implemented Interfaces:
Serializable
Thrown when a plugin's scheduler fails with an exception
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServerSchedulerException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, BukkitTask task) ServerSchedulerException
(String message, Throwable cause, BukkitTask task) ServerSchedulerException
(Throwable cause, BukkitTask task) -
Method Summary
Methods inherited from class com.destroystokyo.paper.exception.ServerPluginException
getResponsiblePlugin
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerSchedulerException
-
ServerSchedulerException
-
ServerSchedulerException
protected ServerSchedulerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, BukkitTask task)
-
-
Method Details
-
getTask
Gets the task which threw the exception- Returns:
- exception throwing task
-