Package org.eclipse.jgit.errors
Class TranslationStringMissingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jgit.errors.TranslationBundleException
-
- org.eclipse.jgit.errors.TranslationStringMissingException
-
- All Implemented Interfaces:
java.io.Serializable
public class TranslationStringMissingException extends TranslationBundleException
This exception will be thrown when a translation string for a translation bundle and locale is missing.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
key
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description TranslationStringMissingException(java.lang.Class bundleClass, java.util.Locale locale, java.lang.String key, java.lang.Exception cause)
Construct aTranslationStringMissingException
for the specified bundle class, locale and translation key
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Get the key of the missing translation string-
Methods inherited from class org.eclipse.jgit.errors.TranslationBundleException
getBundleClass, getLocale
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
key
private final java.lang.String key
-
-
Constructor Detail
-
TranslationStringMissingException
public TranslationStringMissingException(java.lang.Class bundleClass, java.util.Locale locale, java.lang.String key, java.lang.Exception cause)
Construct aTranslationStringMissingException
for the specified bundle class, locale and translation key- Parameters:
bundleClass
- 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 theResourceBundle.getString(String)
method.
-
-