public abstract class Message extends Object
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
static Message |
create(String text,
Object data,
ProcessingUnit owner)
Creates a new Message from the specified text.
|
static Message |
create(String text,
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)
A synonym for write( writer, owner, null ).
|
abstract void |
write(PrintWriter writer,
Janitor janitor)
Writes the message to the specified PrintWriter.
|
public abstract void write(PrintWriter writer, Janitor janitor)
public final void write(PrintWriter writer)
public static Message create(String text, ProcessingUnit owner)
public static Message create(String text, Object data, ProcessingUnit owner)
public static Message create(SyntaxException error, SourceUnit owner)