| Modifier and Type | Field and Description |
|---|---|
| private final ParseErrorDetails | |
| private final Location | |
| private final String | module
Deprecated
|
| private ParseTree |
| Access | Constructor and Description |
|---|---|
| public | ParserException(ParseErrorDetails
the details, Location ParseErrorDetails that describes the error details.the error location. location)
References Deprecated
Location is deprecated or references (maybe indirectly) at least one deprecated element.
Creates a |
| public | ParserException(ParseErrorDetails
the details, String ParseErrorDetails that describes the error details.the module name. moduleName, Location the error location. location)
Deprecated
Creates a |
| public | ParserException(Throwable
the exception that causes this. cause, ParseErrorDetails the details, String ParseErrorDetails that describes the error details.the module name. moduleName, Location the location. location)
Deprecated
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public ParseErrorDetails | |
| public final int | |
| public Location | |
| public String | |
| public ParseTree | |
| public void | |
| private static String | toErrorMessage(String message, String module, ParseErrorDetails details, Location location)
References Deprecated
Location is deprecated or references (maybe indirectly) at least one deprecated element.
|
| error | back to summary |
|---|---|
| private final ParseErrorDetails error | |
| location | back to summary |
|---|---|
| private final Location location
References Deprecated
See corresponding docs for further information. | |
| module | back to summary |
|---|---|
| private final String module
Deprecated
| |
| parseTree | back to summary |
|---|---|
| private ParseTree parseTree | |
| ParserException | back to summary |
|---|---|
| public ParserException(ParseErrorDetails details, Location location)
References Deprecated
See corresponding docs for further information. Creates a
| |
| ParserException | back to summary |
|---|---|
| public ParserException(ParseErrorDetails details, String moduleName, Location location)
Deprecated
Creates a
| |
| ParserException | back to summary |
|---|---|
| public ParserException(Throwable cause, ParseErrorDetails details, String moduleName, Location location)
Deprecated
Creates a
| |
| getColumn | back to summary |
|---|---|
| public final int getColumn() Returns the column where the error occurred.
| |
| getErrorDetails | back to summary |
|---|---|
| public ParseErrorDetails getErrorDetails() Returns the detailed description of the error, or | |
| getLine | back to summary |
|---|---|
| public final int getLine() Returns the line where the error occurred.
| |
| getLocation | back to summary |
|---|---|
| public Location getLocation()
Returns the location of the error.
| |
| getModuleName | back to summary |
|---|---|
| public String getModuleName()
Deprecated
Returns the module name, or
| |
| getParseTree | back to summary |
|---|---|
| public ParseTree getParseTree() Returns the parse tree until the parse error happened, when
| |
| setParseTree | back to summary |
|---|---|
public void setParseTree(ParseTree parseTree)
| |
| toErrorMessage | back to summary |
|---|---|
| private static String toErrorMessage(String message, String module, ParseErrorDetails details, Location location)
References Deprecated
See corresponding docs for further information. | |