Class ProxySchedulerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.github.waterfallmc.waterfall.exception.ProxyException
-
- io.github.waterfallmc.waterfall.exception.ProxyPluginException
-
- io.github.waterfallmc.waterfall.exception.ProxySchedulerException
-
- All Implemented Interfaces:
Serializable
public class ProxySchedulerException extends ProxyPluginException
Thrown when a plugin's scheduler fails with an exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProxySchedulerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, ScheduledTask task)
ProxySchedulerException(String message, Throwable cause, ScheduledTask task)
ProxySchedulerException(Throwable cause, ScheduledTask task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledTask
getTask()
Gets the task which threw the exception-
Methods inherited from class io.github.waterfallmc.waterfall.exception.ProxyPluginException
getResponsiblePlugin
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProxySchedulerException
public ProxySchedulerException(String message, Throwable cause, ScheduledTask task)
-
ProxySchedulerException
public ProxySchedulerException(Throwable cause, ScheduledTask task)
-
ProxySchedulerException
protected ProxySchedulerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, ScheduledTask task)
-
-
Method Detail
-
getTask
public ScheduledTask getTask()
Gets the task which threw the exception- Returns:
- exception throwing task
-
-