Class TranslatableRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
velox.gui.utils.localization.translatable.exceptions.TranslatableRuntimeException
- All Implemented Interfaces:
Serializable,TranslatableComponent
The exception with a message that could be localized for different locales.
The same as
TranslatableException but extends RuntimeException (i.e. unchecked exception).- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
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
-
TranslatableRuntimeException
public TranslatableRuntimeException() -
TranslatableRuntimeException
-
-
Method Details
-
toLocalizedString
- Specified by:
toLocalizedStringin interfaceTranslatableComponent- Parameters:
locale-- Returns:
- localized string in specific locale
-