Class IncompatibleItemHandlerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.thebusybiscuit.slimefun4.api.exceptions.IncompatibleItemHandlerException
All Implemented Interfaces:
Serializable

public class IncompatibleItemHandlerException extends RuntimeException
An IncompatibleItemHandlerException is thrown whenever a Plugin tried to add an ItemHandler to a SlimefunItem despite the SlimefunItem not allowing an ItemHandler of that type to be added. An example for this is the BlockUseHandler, it can only be added to blocks. So it will throw this exception when it is added to a non-block item.
Author:
TheBusyBiscuit
See Also: