| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | java.util.MissingResourceException | |||
A MissingResourceException is thrown by ResourceBundle when a
resource bundle cannot be found or a resource is missing from a resource
bundle.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
MissingResourceException with the stack trace,
message, the class name of the resource bundle and the name of the
missing resource filled in.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns 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.
| |||||||||||
Returns the name of the missing resource, or an empty string if the
resource bundle is missing.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new MissingResourceException with the stack trace,
message, the class name of the resource bundle and the name of the
missing resource filled in.
| detailMessage | the detail message for the exception. |
|---|---|
| className | the class name of the resource bundle. |
| resourceName | the name of the missing resource. |
Returns 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.
Returns the name of the missing resource, or an empty string if the resource bundle is missing.