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
ConstructorDescriptionBiomeMapException
(NamespacedKey key, String message) This constructs a newBiomeMapException
for the givenBiomeMap
'sNamespacedKey
with the provided context.BiomeMapException
(NamespacedKey key, Throwable cause) This constructs a newBiomeMapException
for the givenBiomeMap
'sNamespacedKey
with 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 newBiomeMapException
for the givenBiomeMap
'sNamespacedKey
with the provided context.- Parameters:
key
- TheNamespacedKey
of ourBiomeMap
message
- The message to display
-
BiomeMapException
This constructs a newBiomeMapException
for the givenBiomeMap
'sNamespacedKey
with the provided context.- Parameters:
key
- TheNamespacedKey
of ourBiomeMap
cause
- TheThrowable
which has caused this to happen
-