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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TranslationBundleException
protected TranslationBundleException(String message,
Class bundleClass,
Locale locale,
Exception cause)
- To construct an instance of
TranslationBundleException
- 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 the ResourceBundle
class.
getBundleClass
public final Class getBundleClass()
- Returns:
- bundle class for which the exception occurred
getLocale
public final Locale getLocale()
- Returns:
- locale for which the exception occurred
Copyright © 2013. All Rights Reserved.