MissingResourceExceptionpublic class MissingResourceException extends RuntimeException Signals that a resource is missing. |
Fields Summary |
---|
private static final long | serialVersionUID | private String | classNameThe class name of the resource bundle requested by the user. | private String | keyThe name of the specific resource requested by the user. |
Constructors Summary |
---|
public MissingResourceException(String s, String className, String key)Constructs a MissingResourceException with the specified information.
A detail message is a String that describes this particular exception.
super(s);
this.className = className;
this.key = key;
| MissingResourceException(String message, String className, String key, Throwable cause)Constructs a MissingResourceException with
message , className , key ,
and cause . This constructor is package private for
use by ResourceBundle.getBundle .
super(message, cause);
this.className = className;
this.key = key;
|
Methods Summary |
---|
public java.lang.String | getClassName()Gets parameter passed by constructor.
return className;
| public java.lang.String | getKey()Gets parameter passed by constructor.
return key;
|
|