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

public Class TranslationStringMissingException

extends TranslationBundleException
Class Inheritance
Imports
java.util.Locale

This exception will be thrown when a translation string for a translation bundle and locale is missing.

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
TranslationStringMissingException(Class<T>
the bundle class for which a translation string was missing
bundleClass
,
Locale
the locale for which a translation string was missing
locale
,
String
the key of the missing translation string
key
,
Exception
the original exception thrown from the java.util.ResourceBundle#getString(String) method.
cause
)

Construct a org.eclipse.jgit.errors.TranslationStringMissingException for the specified bundle class, locale and translation key

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the key of the missing translation string
getKey
()

Get the key of the missing translation string

Inherited from org.eclipse.jgit.errors.TranslationBundleException:
getBundleClassgetLocale

Field Detail

keyback to summary
private final String key
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.errors.TranslationBundleException.serialVersionUID.

Constructor Detail

TranslationStringMissingExceptionback to summary
public TranslationStringMissingException(Class<T> bundleClass, Locale locale, String key, Exception cause)

Construct a org.eclipse.jgit.errors.TranslationStringMissingException for the specified bundle class, locale and translation key

Parameters
bundleClass:Class<T>

the bundle class for which a translation string was missing

locale:Locale

the locale for which a translation string was missing

key:String

the key of the missing translation string

cause:Exception

the original exception thrown from the java.util.ResourceBundle#getString(String) method.

Method Detail

getKeyback to summary
public String getKey()

Get the key of the missing translation string

Returns:String

the key of the missing translation string