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:
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TranslationStringMissingException
public TranslationStringMissingException(Class bundleClass,
Locale locale,
String key,
Exception cause)
- Construct a
TranslationStringMissingException
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 the
ResourceBundle.getString(String)
method.
getKey
public String getKey()
- Returns:
- the key of the missing translation string
Copyright © 2012. All Rights Reserved.