|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.sql.proc.Statement
com.metamatrix.query.sql.proc.AssignmentStatement
com.metamatrix.query.sql.proc.RaiseErrorStatement
public class RaiseErrorStatement
This class represents a error assignment statement in the storedprocedure language.
It extends the Statement
that could part of a Block
. This
this object holds and error message.
Field Summary |
---|
Fields inherited from class com.metamatrix.query.sql.proc.Statement |
---|
TYPE_ASSIGNMENT, TYPE_BREAK, TYPE_COMMAND, TYPE_CONTINUE, TYPE_DECLARE, TYPE_ERROR, TYPE_IF, TYPE_LOOP, TYPE_UNKNOWN, TYPE_WHILE |
Constructor Summary | |
---|---|
RaiseErrorStatement()
Constructor for RaiseErrorStatement. |
|
RaiseErrorStatement(Expression message)
Constructor for RaiseErrorStatement. |
Method Summary | |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
int |
getType()
Return the type for this statement, this is one of the types defined on the statement object. |
Methods inherited from class com.metamatrix.query.sql.proc.AssignmentStatement |
---|
clone, equals, getCommand, getExpression, getValue, getVariable, hasCommand, hasExpression, hashCode, setCommand, setExpression, setValue, setVariable, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RaiseErrorStatement()
public RaiseErrorStatement(Expression message)
message
- The error messageMethod Detail |
---|
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
acceptVisitor
in class AssignmentStatement
visitor
- Visitor being usedpublic int getType()
AssignmentStatement
getType
in class AssignmentStatement
AssignmentStatement.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |