Class MissingDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.thebusybiscuit.slimefun4.api.exceptions.MissingDependencyException
- All Implemented Interfaces:
Serializable
A
MissingDependencyException
is thrown when a SlimefunAddon
tried
to register Items without marking Slimefun as a dependency.- Author:
- TheBusyBiscuit
- See Also:
-
Constructor Summary
ConstructorDescriptionMissingDependencyException
(SlimefunAddon addon, String dependency) This constructs a newMissingDependencyException
for the givenSlimefunAddon
and the given dependency ("Slimefun") -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingDependencyException
@ParametersAreNonnullByDefault public MissingDependencyException(SlimefunAddon addon, String dependency) This constructs a newMissingDependencyException
for the givenSlimefunAddon
and the given dependency ("Slimefun")- Parameters:
addon
- TheSlimefunAddon
that caused this exceptiondependency
- The dependency that is required ("Slimefun")
-