public class SyntaxErrorMessage extends Message
Modifier and Type | Field and Description |
---|---|
protected SyntaxException |
cause |
protected SourceUnit |
source |
Constructor and Description |
---|
SyntaxErrorMessage(SyntaxException cause,
SourceUnit source) |
Modifier and Type | Method and Description |
---|---|
SyntaxException |
getCause()
Returns the underlying SyntaxException.
|
void |
write(PrintWriter output,
Janitor janitor)
Writes out a nicely formatted summary of the syntax error.
|
protected SyntaxException cause
protected SourceUnit source
public SyntaxErrorMessage(SyntaxException cause, SourceUnit source)
public SyntaxException getCause()
public void write(PrintWriter output, Janitor janitor)