A base class for compilation messages.
| Type | Name and description |
|---|---|
static Message |
create(String text, ProcessingUnit owner)Creates a new Message from the specified text. |
static Message |
create(String text, Object data, ProcessingUnit owner)Creates a new Message from the specified text. |
static Message |
create(SyntaxException error, SourceUnit owner)Creates a new Message from the specified SyntaxException. |
void |
write(PrintWriter writer, Janitor janitor)Writes the message to the specified PrintWriter. |
void |
write(PrintWriter writer)A synonym for write( writer, owner, null ). |
Creates a new Message from the specified text.
Creates a new Message from the specified text.
Creates a new Message from the specified SyntaxException.
Writes the message to the specified PrintWriter. The supplied ProcessingUnit is the unit that holds this Message.
A synonym for write( writer, owner, null ).