org.mozilla.javascript
Interface ScriptRuntime.MessageProvider
public static interface ScriptRuntime.MessageProvider
This is an interface defining a message provider. Create your
own implementation to override the default error message provider.
String | getMessage(String messageId, Object[] arguments)- Returns a textual message identified by the given messageId,
parameterized by the given arguments.
|
getMessage
public String getMessage(String messageId,
Object[] arguments) Returns a textual message identified by the given messageId,
parameterized by the given arguments.
messageId - the identifier of the messagearguments - the arguments to fill into the message