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:
java.io.Serializable
- Direct Known Subclasses:
TranslationBundleLoadingException,TranslationStringMissingException
public abstract class TranslationBundleException extends java.lang.RuntimeExceptionCommon base class for all translation bundle related exceptions.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassbundleClassprivate java.util.Localelocaleprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedTranslationBundleException(java.lang.String message, java.lang.Class bundleClass, java.util.Locale locale, java.lang.Exception cause)Construct an instance ofTranslationBundleException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetBundleClass()Get bundle classjava.util.LocalegetLocale()Get locale for which the exception occurred
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bundleClass
private final java.lang.Class bundleClass
-
locale
private final java.util.Locale locale
-
-
Constructor Detail
-
TranslationBundleException
protected TranslationBundleException(java.lang.String message, java.lang.Class bundleClass, java.util.Locale locale, java.lang.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 theResourceBundleclass.
-
-