Message (Apache CXF JavaDoc 3.0.4.redhat-621177 API)

org.apache.cxf.common.i18n

## Class Message

- java.lang.Object
- - org.apache.cxf.common.i18n.Message

- All Implemented Interfaces:
    Serializable

      public class Message
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Message(String key, Logger logger, Object... params)` Constructor.
    `Message(String key, ResourceBundle catalog, Object... params)` Constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCode()`
    `Object[]` | `getParameters()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Message

          public Message(String key,
                 Logger logger,
                 Object... params)

      Constructor.
      Parameters:
        `key` - the message catalog (resource bundle) key
        `logger` - a logger with an associated resource bundle
        `params` - the message substitution parameters

    - #### Message

          public Message(String key,
                 ResourceBundle catalog,
                 Object... params)

      Constructor.
      Parameters:
        `key` - the message catalog (resource bundle) key
        `catalog` - the resource bundle
        `params` - the message substitution parameters

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getCode

          public String getCode()

    - #### getParameters

          public Object[] getParameters()

Apache CXF