Class Message
java.lang.Object
org.codehaus.groovy.control.messages.Message
- Direct Known Subclasses:
- ExceptionMessage,- SimpleMessage,- SyntaxErrorMessage
A base class for compilation messages.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Messagecreate(String text, Object data, ProcessingUnit owner) Creates a newMessagefrom the specified text and data.static Messagecreate(String text, ProcessingUnit owner) Creates a newMessagefrom the specified text.static Messagecreate(SyntaxException error, SourceUnit owner) Creates a newMessagefrom the specifiedSyntaxException.final voidwrite(PrintWriter writer) Writes this message to the specifiedPrintWriter.abstract voidwrite(PrintWriter writer, Janitor janitor) Writes this message to the specifiedPrintWriter.
- 
Constructor Details- 
Messagepublic Message()
 
- 
- 
Method Details- 
createCreates a newMessagefrom the specified text.
- 
createCreates a newMessagefrom the specified text and data.
- 
createCreates a newMessagefrom the specifiedSyntaxException.
- 
writeWrites this message to the specifiedPrintWriter.
- 
writeWrites this message to the specifiedPrintWriter.
 
-