Class TranslatableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
velox.gui.utils.localization.translatable.exceptions.TranslatableException
- All Implemented Interfaces:
Serializable,TranslatableComponent
The exception with a message that could be localized for different locales.
The same as
TranslatableRuntimeException but extends Exception (i.e. checked exception).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface velox.gui.utils.localization.translatable.TranslatableComponent
toDefaultString, toLocalizedString
-
Constructor Details
-
TranslatableException
public TranslatableException() -
TranslatableException
-
TranslatableException
-
-
Method Details
-
toLocalizedString
- Specified by:
toLocalizedStringin interfaceTranslatableComponent- Parameters:
locale-- Returns:
- localized string in specific locale
-
getTranslatableMessage
-