|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sqlproc.engine.SqlEngineException
public class SqlEngineException
The general exception class for the SQL Processor parser.
This exception can be raised in the process of the META SQL statement or the mapping rule parsing. It encapsulates
the ANTLR exceptions. In the runtime (query command execution) only SqlRuntimeException or
SqlProcessorException can be raised.
For more info please see the Tutorials.
| Field Summary | |
|---|---|
private List<ErrorMsg> |
errors
The list of parsing errors. |
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
getMessage()
Creates a human readable message describing the exception raised in the process of lexer and parser processing. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private List<ErrorMsg> errors
| Constructor Detail |
|---|
public SqlEngineException(String msg)
msg - the error message
public 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 errors
public 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 errors| Method Detail |
|---|
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||