Class Message
- java.lang.Object
- 
- org.codehaus.groovy.control.messages.Message
 
- 
- Direct Known Subclasses:
- ExceptionMessage,- SimpleMessage,- SyntaxErrorMessage
 
 public abstract class Message extends java.lang.ObjectA base class for compilation messages.
- 
- 
Constructor SummaryConstructors Constructor Description Message()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Messagecreate(java.lang.String text, java.lang.Object data, ProcessingUnit owner)Creates a new Message from the specified text.static Messagecreate(java.lang.String text, ProcessingUnit owner)Creates a new Message from the specified text.static Messagecreate(SyntaxException error, SourceUnit owner)Creates a new Message from the specified SyntaxException.voidwrite(java.io.PrintWriter writer)A synonym for write( writer, owner, null ).abstract voidwrite(java.io.PrintWriter writer, Janitor janitor)Writes the message to the specified PrintWriter.
 
- 
- 
- 
Method Detail- 
writepublic abstract void write(java.io.PrintWriter writer, Janitor janitor)Writes the message to the specified PrintWriter. The supplied ProcessingUnit is the unit that holds this Message.
 - 
writepublic final void write(java.io.PrintWriter writer) A synonym for write( writer, owner, null ).
 - 
createpublic static Message create(java.lang.String text, ProcessingUnit owner) Creates a new Message from the specified text.
 - 
createpublic static Message create(java.lang.String text, java.lang.Object data, ProcessingUnit owner) Creates a new Message from the specified text.
 - 
createpublic static Message create(SyntaxException error, SourceUnit owner) Creates a new Message from the specified SyntaxException.
 
- 
 
-