public class SyntaxErrorMessage extends Message
A class for error messages produced by the parser system.
Modifiers | Name | Description |
---|---|---|
protected SyntaxException |
cause |
|
protected SourceUnit |
source |
Constructor and description |
---|
SyntaxErrorMessage
(SyntaxException cause, SourceUnit source) |
Type Params | Return Type | Name and description |
---|---|---|
|
public SyntaxException |
getCause() Returns the underlying SyntaxException. |
|
public void |
write(PrintWriter output, Janitor janitor) Writes out a nicely formatted summary of the syntax error. |
Returns the underlying SyntaxException.
Writes out a nicely formatted summary of the syntax error.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.