@Utility public final class I18N extends java.lang.Object
Numbered errors are read from the Err file found in this package.
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
err(int number)
Gets the string defined for the given error number from the i18 resource
bundle.
|
static java.lang.String |
err(int number,
java.lang.Object... args)
Gets and formats the string defined for the given error number from the i18
resource bundle.
|
@RegionEffects(value="reads any(java.util.ResourceBundle):Instance") public static java.lang.String err(int number)
number
- the error message number.@RegionEffects(value="reads any(java.util.ResourceBundle):Instance, arg1:Instance") public static java.lang.String err(int number, java.lang.Object... args)
number
- the error message number.args
- the variable arguments to format the resulting error message with.String.format(String, Object...)