Class ResourcePackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.geysermc.geyser.api.pack.exception.ResourcePackException
- All Implemented Interfaces:
Serializable
Used to indicate an exception that occurred while handling resource pack registration,
or during resource pack option validation.
- Since:
- 2.6.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents different causes with explanatory messages stating which issue occurred. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourcePackException
- Parameters:
cause- the cause of this exception- Since:
- 2.6.2
-
ResourcePackException
- Parameters:
cause- the cause of this exceptionmessage- an additional, more in-depth message about the issue.- Since:
- 2.6.2
-
-
Method Details
-
cause
- Returns:
- the cause of this exception
- Since:
- 2.6.2
-