public class SyntaxErrorMessage extends Message
| Modifier and Type | Field | Description |
|---|---|---|
protected SyntaxException |
cause |
|
protected SourceUnit |
source |
| Constructor | Description |
|---|---|
SyntaxErrorMessage(SyntaxException cause,
SourceUnit source) |
| Modifier and Type | Method | 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)