W3cubDocs

/Groovy 3.0

[Java] Class SimpleMessage

  • org.codehaus.groovy.control.messages.SimpleMessage
public class SimpleMessage
extends Message

A base class for compilation messages.

Field Summary

Fields
Modifiers Name Description
protected Object data
protected String message
protected ProcessingUnit owner

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

Field Detail

protected Object data

protected String message

protected ProcessingUnit owner

Constructor Detail

public SimpleMessage(String message, ProcessingUnit source)

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

Method Detail

public String getMessage()

public void write(PrintWriter writer, Janitor janitor)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/messages/SimpleMessage.html