Class NameConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sgrewritten.stargate.exception.TranslatableException
org.sgrewritten.stargate.exception.name.NameConflictException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNameConflictException(String message) NameConflictException(String message, NetworkType networkType) -
Method Summary
Modifier and TypeMethodDescriptiongetLocalisedMessage(LanguageManager languageManager) protected TranslatableMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NameConflictException
- Parameters:
message-The message to display on the stacktrace for this exception
-
NameConflictException
- Parameters:
message-The message to display on the stacktrace for this exception
networkType-The network type that relates to this exception
-
-
Method Details
-
getTranslatableMessage
- Specified by:
getTranslatableMessagein classTranslatableException- Returns:
A translatable message that can be used to determine the localized message of this exception
-
getLocalisedMessage
- Overrides:
getLocalisedMessagein classTranslatableException- Parameters:
languageManager-A language manager able to provide localized messages
- Returns:
The localized message of this exception
-