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