Top Description Fields Constructors Methods
org.eclipse.jgit.errors

public abstract Class TranslationBundleException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.errors.TranslationBundleLoadingException, org.eclipse.jgit.errors.TranslationStringMissingException
Imports
java.util.Locale

Common base class for all translation bundle related exceptions.

Field Summary

Modifier and TypeField and Description
private final Class<T>
private final Locale
private static final long

Constructor Summary

AccessConstructor and Description
protected
TranslationBundleException(String
exception message
message
,
Class<T>
bundle class for which the exception occurred
bundleClass
,
Locale
locale for which the exception occurred
locale
,
Exception
original exception that caused this exception. Usually thrown from the java.util.ResourceBundle class.
cause
)

Construct an instance of org.eclipse.jgit.errors.TranslationBundleException

Method Summary

Modifier and TypeMethod and Description
public final Class<T>

Returns:

bundle class for which the exception occurred
getBundleClass
()

Get bundle class

public final Locale

Returns:

locale for which the exception occurred
getLocale
()

Get locale for which the exception occurred

Field Detail

bundleClassback to summary
private final Class<T> bundleClass
localeback to summary
private final Locale locale
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

TranslationBundleExceptionback to summary
protected TranslationBundleException(String message, Class<T> bundleClass, Locale locale, Exception cause)

Construct an instance of org.eclipse.jgit.errors.TranslationBundleException

Parameters
message:String

exception message

bundleClass:Class<T>

bundle class for which the exception occurred

locale:Locale

locale for which the exception occurred

cause:Exception

original exception that caused this exception. Usually thrown from the java.util.ResourceBundle class.

Method Detail

getBundleClassback to summary
public final Class<T> getBundleClass()

Get bundle class

Returns:Class<T>

bundle class for which the exception occurred

getLocaleback to summary
public final Locale getLocale()

Get locale for which the exception occurred

Returns:Locale

locale for which the exception occurred