Class MissingTranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.lokalized.MissingTranslationException
- All Implemented Interfaces:
Serializable
Exception thrown when no translation is found when
DefaultStrings.FailureMode
is configured to be DefaultStrings.FailureMode.FAIL_FAST
.
In production, you would normally prefer DefaultStrings.FailureMode.USE_FALLBACK
.
This class is intended for use by a single thread.
- Author:
- Mark Allen
- 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, toString
-
Constructor Details
-
MissingTranslationException
-
-
Method Details
-
getKey
-
getPlaceholders
The placeholders specified for the failed translation attempt.- Returns:
- the placeholders, not null
-
getLocale
-