public class ErrorResourceController
extends java.lang.Object
ErrorResourceController class contains methods for loading error text
resources.| Constructor and Description |
|---|
ErrorResourceController()
Initializes a newly created
ErrorResourceController with error resource
bundle. |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getMessage(java.lang.String key)
Gets the error text resource for the input key.
|
static java.lang.String |
getMessage(java.lang.String key,
java.lang.Object... args)
Gets the error text resource for the input key and arguments.
|
public ErrorResourceController()
ErrorResourceController with error resource
bundle.public static java.lang.String getMessage(java.lang.String key)
key - the key of the error text resource.public static java.lang.String getMessage(java.lang.String key,
java.lang.Object... args)
key - the key of the error text resource.args - the arguments of the error text resource.