Class UnregisteredItemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.thebusybiscuit.slimefun4.api.exceptions.UnregisteredItemException
- All Implemented Interfaces:
Serializable
An
UnregisteredItemException
is thrown whenever a Plugin
tried to
access a method prematurely from SlimefunItem
that can only be called after the
SlimefunItem
was registered.
In other words... calling this method this early can not result in a logical output, making
this an Exception
.- Author:
- TheBusyBiscuit
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnregisteredItemException
Constructs a newUnregisteredItemException
with the givenSlimefunItem
- Parameters:
item
- TheSlimefunItem
that was affected by this
-