Class BiomeMapException

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

public class BiomeMapException extends Exception
A BiomeMapException is thrown whenever a BiomeMap contains illegal, invalid or unknown values.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

    • BiomeMapException

      @ParametersAreNonnullByDefault public BiomeMapException(org.bukkit.NamespacedKey key, String message)
      This constructs a new BiomeMapException for the given BiomeMap's NamespacedKey with the provided context.
      Parameters:
      key - The NamespacedKey of our BiomeMap
      message - The message to display
    • BiomeMapException

      @ParametersAreNonnullByDefault public BiomeMapException(org.bukkit.NamespacedKey key, Throwable cause)
      This constructs a new BiomeMapException for the given BiomeMap's NamespacedKey with the provided context.
      Parameters:
      key - The NamespacedKey of our BiomeMap
      cause - The Throwable which has caused this to happen