Package io.github.thebusybiscuit.slimefun4.api.exceptions
package io.github.thebusybiscuit.slimefun4.api.exceptions
This package contains all different extensions of
Exception
that Slimefun
uses internally.-
ClassDescriptionA
BiomeMapException
is thrown whenever aBiomeMap
contains illegal, invalid or unknown values.AnIdConflictException
is thrown whenever two Addons try to add aSlimefunItem
with the same id.AnIncompatibleItemHandlerException
is thrown whenever aPlugin
tried to add anItemHandler
to aSlimefunItem
despite theSlimefunItem
not allowing anItemHandler
of that type to be added.AMissingDependencyException
is thrown when aSlimefunAddon
tried to register Items without marking Slimefun as a dependency.APrematureCodeException
is thrown when aSlimefunAddon
tried to access Slimefun code before Slimefun was enabled.AnTagMisconfigurationException
is thrown whenever aSlimefunTag
contains illegal, invalid or unknown values.AnUnregisteredItemException
is thrown whenever aPlugin
tried to access a method prematurely fromSlimefunItem
that can only be called after theSlimefunItem
was registered.AWrongItemStackException
is thrown when someone tries to alter anItemStack
but actually wanted to alter a different one.