public class MissingResourceException extends java.lang.RuntimeException
ResourceBundle,
Serialized Form| Constructor and Description |
|---|
MissingResourceException(java.lang.String s,
java.lang.String className,
java.lang.String key)
Creates a new exception, with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Gets the name of the resource bundle, for which a resource is missing.
|
java.lang.String |
getKey()
Gets the key of the resource that is missing bundle, this is an empty
string if the whole resource bundle is missing.
|
public MissingResourceException(java.lang.String s, java.lang.String className, java.lang.String key)
s - the detail messageclassName - the name of the resource bundlekey - the key of the missing resourcepublic java.lang.String getClassName()
public java.lang.String getKey()