Class SkinLoadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.oliver.fancynpcs.api.skins.SkinLoadException
- All Implemented Interfaces:
Serializable
Exception that is thrown when a skin cannot be fetched or loaded.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the reason why the skin could not be loaded.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SkinLoadException
public SkinLoadException(@NotNull SkinLoadException.Reason reason, @NotNull @NotNull String message)
-
-
Method Details
-
getReason
Returns the reason why the skin could not be loaded.- Returns:
- the reason
-