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

public class MissingDependencyException extends RuntimeException
A MissingDependencyException is thrown when a SlimefunAddon tried to register Items without marking Slimefun as a dependency.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

    • MissingDependencyException

      @ParametersAreNonnullByDefault public MissingDependencyException(SlimefunAddon addon, String dependency)
      This constructs a new MissingDependencyException for the given SlimefunAddon and the given dependency ("Slimefun")
      Parameters:
      addon - The SlimefunAddon that caused this exception
      dependency - The dependency that is required ("Slimefun")