public class TExceptionHandler extends TParseTreeNode
Constructor and Description |
---|
TExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
void |
doParse(TCustomSqlStatement psql,
ESqlClause plocation)
Analyze the sub-nodes inside this node.
|
TObjectNameList |
getExceptionNames()
A list of exception name which either a predefined exception (such as ZERO_DIVIDE), or a user-defined exception previously declared within the current scope.
|
TStatementList |
getStatements()
These associated statements are executed when any exception in the
getExceptionNames() list is raised. |
TStatementListSqlNode |
getStmts() |
void |
init(Object arg1,
Object arg2) |
void |
setExceptionNames(TObjectNameList exceptionNames) |
void |
setStatements(TStatementList statements) |
addAllMyTokensToTokenList, appendString, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript, toString
public TObjectNameList getExceptionNames()
public TStatementListSqlNode getStmts()
public void init(Object arg1, Object arg2)
init
in class TParseTreeNode
public void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNode
doParse
in class TParseTreeNode
psql
- SQL statement this node belongs toplocation
- SQL clause this node belongs topublic TStatementList getStatements()
getExceptionNames()
list is raised. .public void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void setExceptionNames(TObjectNameList exceptionNames)
public void setStatements(TStatementList statements)
Copyright © 2019. All rights reserved.