public class TranslationStringMissingException extends TranslationBundleException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private static long |
serialVersionUID |
Constructor and Description |
---|
TranslationStringMissingException(java.lang.Class bundleClass,
java.util.Locale locale,
java.lang.String key,
java.lang.Exception cause)
Construct a
TranslationStringMissingException for the
specified bundle class, locale and translation key |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Get the key of the missing translation string
|
getBundleClass, getLocale
private static final long serialVersionUID
private final java.lang.String key
public TranslationStringMissingException(java.lang.Class bundleClass, java.util.Locale locale, java.lang.String key, java.lang.Exception cause)
TranslationStringMissingException
for the
specified bundle class, locale and translation keybundleClass
- the bundle class for which a translation string was missinglocale
- the locale for which a translation string was missingkey
- the key of the missing translation stringcause
- the original exception thrown from the
ResourceBundle.getString(String)
method.