Package org.teiid.query.sql.proc
Class ExceptionExpression
- java.lang.Object
-
- org.teiid.query.sql.proc.ExceptionExpression
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
,Expression
public class ExceptionExpression extends Object implements Expression, LanguageObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description ExceptionExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.ExceptionExpression
clone()
Implement clone to make objects cloneable.boolean
equals(Object obj)
String
getDefaultSQLState()
Expression
getErrorCode()
Expression
getMessage()
Expression
getParent()
Expression
getSqlState()
Class<?>
getType()
Get the return type of this expression.int
hashCode()
void
setErrorCode(Expression errCode)
void
setMessage(Expression message)
void
setParent(Expression parent)
void
setSqlState(Expression sqlState)
String
toString()
-
-
-
Method Detail
-
getType
public Class<?> getType()
Description copied from interface:Expression
Get the return type of this expression.- Specified by:
getType
in interfaceExpression
- Returns:
- Java class may be null prior to being resolved
-
clone
public ExceptionExpression clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
getErrorCode
public Expression getErrorCode()
-
setErrorCode
public void setErrorCode(Expression errCode)
-
getSqlState
public Expression getSqlState()
-
setSqlState
public void setSqlState(Expression sqlState)
-
getMessage
public Expression getMessage()
-
setMessage
public void setMessage(Expression message)
-
getParent
public Expression getParent()
-
setParent
public void setParent(Expression parent)
-
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface:LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitor
in interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
getDefaultSQLState
public String getDefaultSQLState()
-
-