| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.util.MissingResourceException
MissingResourceException | public class MissingResourceException extends RuntimeException (Code) | | This runtime exception is thrown by ResourceBundle when a resouce bundle
cannot be found or a resource is missing from a resource bundle.
See Also: ResourceBundle |
Constructor Summary | |
public | MissingResourceException(String detailMessage, String className, String resourceName) Constructs a new instance of this class with its walkback, message, the
class name of the resource bundle and the name of the missing resource. |
Method Summary | |
public String | getClassName() Answers the class name of the resource bundle from which a resource could
not be found, or in the case of a missing resource, the name of the
missing resource bundle. | public String | getKey() Answers the name of the missing resource, or an empty string if the
resource bundle is missing. |
MissingResourceException | public MissingResourceException(String detailMessage, String className, String resourceName)(Code) | | Constructs a new instance of this class with its walkback, message, the
class name of the resource bundle and the name of the missing resource.
Parameters: detailMessage - String The detail message for the exception. Parameters: className - String The class name of the resource bundle. Parameters: resourceName - String The name of the missing resource. |
getClassName | public String getClassName()(Code) | | Answers the class name of the resource bundle from which a resource could
not be found, or in the case of a missing resource, the name of the
missing resource bundle.
String The class name of the resource bundle. |
getKey | public String getKey()(Code) | | Answers the name of the missing resource, or an empty string if the
resource bundle is missing.
String The name of the missing resource. |
|
|