Class InvalidNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sgrewritten.stargate.exception.TranslatableException
org.sgrewritten.stargate.exception.name.InvalidNameException
- All Implemented Interfaces:
Serializable
The name error exception is thrown when a portal name is invalid for whatever reason
- See Also:
-
Constructor Summary
-
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
-
InvalidNameException
- Parameters:
message
-The message to display on the stacktrace
-
-
Method Details
-
getTranslatableMessage
- Specified by:
getTranslatableMessage
in classTranslatableException
- Returns:
A translatable message that can be used to determine the localized message of this exception
-