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
public abstract class TranslationBundleException extends RuntimeException
Common base class for all translation bundle related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TranslationBundleException(String message, Class bundleClass, Locale locale, Exception cause)
Construct an instance ofTranslationBundleException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getBundleClass()
Get bundle classLocale
getLocale()
Get locale for which the exception occurred-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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.
-
-