org.mozilla.javascript

## 接口 ScriptRuntime.MessageProvider

- 封闭类:
    ScriptRuntime

      public static interface ScriptRuntime.MessageProvider

  This is an interface defining a message provider. Create your own implementation to override the default error message provider.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.lang.String` | `getMessage(java.lang.String messageId, java.lang.Object[] arguments)` Returns a textual message identified by the given messageId, parameterized by the given arguments.

- - ### 方法详细资料

    - #### getMessage

          java.lang.String getMessage(java.lang.String messageId,
                                      java.lang.Object[] arguments)

      Returns a textual message identified by the given messageId, parameterized by the given arguments.
      参数:
        `messageId` - the identifier of the message
        `arguments` - the arguments to fill into the message