org.codehaus.groovy.control.messages
Class SimpleMessage
java.lang.Object
org.codehaus.groovy.control.messages.Message
org.codehaus.groovy.control.messages.SimpleMessage
- Direct Known Subclasses:
- LocatedMessage
- public class SimpleMessage
- extends Message
A base class for compilation messages.
- Version:
- $Id: SimpleMessage.java,v 1.1 2004/04/19 07:29:45 cpoirier Exp $
- Author:
- Chris Poirier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
protected String message
data
protected Object data
SimpleMessage
public SimpleMessage(String message)
SimpleMessage
public SimpleMessage(String message,
Object data)
write
public void write(PrintWriter writer,
ProcessingUnit owner,
Janitor janitor)
- Description copied from class:
Message
- Writes the message to the specified PrintWriter. The supplied
ProcessingUnit is the unit that holds this Message.
- Specified by:
write
in class Message
getMessage
public String getMessage()
Copyright © 2003-2005 The Codehaus. All Rights Reserved.