public abstract class TranslationBundleException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.Class |
bundleClass |
private java.util.Locale |
locale |
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
protected |
TranslationBundleException(java.lang.String message,
java.lang.Class bundleClass,
java.util.Locale locale,
java.lang.Exception cause)
Construct an instance of
TranslationBundleException |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getBundleClass()
Get bundle class
|
java.util.Locale |
getLocale()
Get locale for which the exception occurred
|
private static final long serialVersionUID
private final java.lang.Class bundleClass
private final java.util.Locale locale
protected TranslationBundleException(java.lang.String message, java.lang.Class bundleClass, java.util.Locale locale, java.lang.Exception cause)
TranslationBundleException
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.