public class SqlEngineException extends RuntimeException
SqlRuntimeException
or
SqlProcessorException
can be raised.
For more info please see the Tutorials.
Modifier and Type | Field and Description |
---|---|
private List<ErrorMsg> |
errors
The list of parsing errors.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
SqlEngineException(String msg)
Creates a new instance of the exception in the process of lexer and parser processing.
|
SqlEngineException(String msg,
List<ErrorMsg> lexerErrors,
List<ErrorMsg> parserErrors)
Creates a new instance of the exception in the process of lexer and parser processing.
|
SqlEngineException(String msg,
List<ErrorMsg> lexerErrors,
List<ErrorMsg> parserErrors,
List<ErrorMsg> processorErrors)
Creates a new instance of the exception in the process of lexer and parser processing.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Creates a human readable message describing the exception raised in the process of lexer and parser processing.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public SqlEngineException(String msg)
msg
- the error messagepublic SqlEngineException(String msg, List<ErrorMsg> lexerErrors, List<ErrorMsg> parserErrors, List<ErrorMsg> processorErrors)
msg
- the error messagelexerErrors
- the optional list of (ANTLR) lexer errorsparserErrors
- the optional list of (ANTLR) parser errorsprocessorErrors
- the optional list of (ANTLR) processor errorspublic SqlEngineException(String msg, List<ErrorMsg> lexerErrors, List<ErrorMsg> parserErrors)
msg
- the error messagelexerErrors
- the optional list of (ANTLR) lexer errorsparserErrors
- the optional list of (ANTLR) parser errorspublic String getMessage()
getMessage
in class Throwable
Copyright © 2015. All rights reserved.