Class BungeeNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sgrewritten.stargate.exception.TranslatableException
org.sgrewritten.stargate.exception.name.BungeeNameException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionBungeeNameException
(String message, TranslatableMessage translatableMessage) -
Method Summary
Methods inherited from class org.sgrewritten.stargate.exception.TranslatableException
getLocalisedMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BungeeNameException
- Parameters:
message
-The message to display on the stacktrace for this exception
translatableMessage
-The translatable message of this exception
-
-
Method Details
-
getTranslatableMessage
- Specified by:
getTranslatableMessage
in classTranslatableException
- Returns:
A translatable message that can be used to determine the localized message of this exception
-