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.RuntimeException
Common base class for all translation bundle related exceptions.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class
bundleClass
private java.util.Locale
locale
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
TranslationBundleException(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.Class
getBundleClass()
Get bundle classjava.util.Locale
getLocale()
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 theResourceBundle
class.
-
-