Class BiomeMapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.thebusybiscuit.slimefun4.api.exceptions.BiomeMapException
- All Implemented Interfaces:
Serializable
A
BiomeMapException is thrown whenever a BiomeMap
contains illegal, invalid or unknown values.- Author:
- TheBusyBiscuit
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBiomeMapException(NamespacedKey key, String message) This constructs a newBiomeMapExceptionfor the givenBiomeMap'sNamespacedKeywith the provided context.BiomeMapException(NamespacedKey key, Throwable cause) This constructs a newBiomeMapExceptionfor the givenBiomeMap'sNamespacedKeywith the provided context. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BiomeMapException
This constructs a newBiomeMapExceptionfor the givenBiomeMap'sNamespacedKeywith the provided context.- Parameters:
key- TheNamespacedKeyof ourBiomeMapmessage- The message to display
-
BiomeMapException
This constructs a newBiomeMapExceptionfor the givenBiomeMap'sNamespacedKeywith the provided context.- Parameters:
key- TheNamespacedKeyof ourBiomeMapcause- TheThrowablewhich has caused this to happen
-