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(java.io.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()