Package org.eclipse.jgit.errors
Class TranslationBundleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.errors.TranslationBundleException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TranslationBundleLoadingException
,TranslationStringMissingException
Common base class for all translation bundle related exceptions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TranslationBundleException
(String message, Class bundleClass, Locale locale, Exception cause) Construct an instance ofTranslationBundleException
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bundleClass
-
locale
-
-
Constructor Details
-
TranslationBundleException
protected TranslationBundleException(String message, Class bundleClass, Locale locale, Exception cause) Construct an instance ofTranslationBundleException
- Parameters:
message
- exception messagebundleClass
- bundle class for which the exception occurredlocale
- locale for which the exception occurredcause
- original exception that caused this exception. Usually thrown from theResourceBundle
class.
-
-
Method Details
-
getBundleClass
Get bundle class- Returns:
- bundle class for which the exception occurred
-
getLocale
Get locale for which the exception occurred- Returns:
- locale for which the exception occurred
-