Package net.ess3.api
Class TranslatableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.ess3.api.TranslatableException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChargeException
,InvalidWorldException
,InvalidWorldException
,MaxMoneyException
,NoLoanPermittedException
,PlayerExemptException
,PlayerNotFoundException
,SignException
,UserDoesNotExistException
,UserDoesNotExistException
,WarpNotFoundException
This exception should be thrown during commands with messages that should be translated.
- See Also:
-
Constructor Summary
ConstructorDescriptionTranslatableException
(String tlKey, Object... args) TranslatableException
(Throwable cause, String tlKey, Object... args) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TranslatableException
-
TranslatableException
-
-
Method Details
-
setCause
Sets a cause. -
getTlKey
-
getArgs
-
getMessage
- Overrides:
getMessage
in classThrowable
-