Package: org.codehaus.groovy.control.messages

## [Java] Class SimpleMessage

- org.codehaus.groovy.control.messages.SimpleMessage

-     public class SimpleMessage
      extends Message

  A base class for compilation messages.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `SimpleMessage(String message, ProcessingUnit source)`
    `SimpleMessage(String message, Object data, ProcessingUnit source)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public String` | `getMessage()`
    `` | `public void` | `write(PrintWriter writer, Janitor janitor)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Message` | `create, create, create, write, write`

- - ### Constructor Detail

    - #### public SimpleMessage(String message, ProcessingUnit source)

    - #### public SimpleMessage(String message, Object data, ProcessingUnit source)

  - ### Method Detail

    - #### public String getMessage()

    - #### @Override
      public void write(PrintWriter writer, Janitor janitor)