public class CustomParseException extends ParseException
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomParseException.Message |
currentToken, eol, expectedTokenSequences, tokenImage| Constructor and Description |
|---|
CustomParseException(ParseException pe) |
CustomParseException(Token tok,
String message)
Instantiates a new custom parse exception.
|
CustomParseException(Token tok,
Throwable t)
Instantiates a new custom parse exception.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomParseException |
factory(Token tok,
CustomParseException.Message msg) |
static CustomParseException |
factory(Token tok,
Throwable t) |
static String |
makeMessage(Token tok,
String message)
Make message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CustomParseException(Token tok, String message)
tok - the tokmessage - the messagepublic CustomParseException(Token tok, Throwable t)
tok - the tokt - the tpublic CustomParseException(ParseException pe)
public static String makeMessage(Token tok, String message)
tok - the tokmessage - the messagepublic static CustomParseException factory(Token tok, Throwable t)
public static CustomParseException factory(Token tok, CustomParseException.Message msg)
Copyright © 2003–2024 Terracotta, Inc.. All rights reserved.