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