public final class ThrowStatement extends CallStatement
args, method| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
static ThrowStatement |
construct(Name name,
ValueExpression value)
Construct a throw (exception) statement.
|
ValueExpression |
getValue()
Get the exception value.
|
acceptChildren, getKind, getMethodSymbol, setMethodSymbolgetAnnotation, getJudgement, setAnnotation, setJudgementgetPosition, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPosition, setPositionprint, printCore, toString, toStringCorepublic static ThrowStatement construct(Name name, ValueExpression value)
name - the exception namevalue - the exception valuepublic ValueExpression getValue()
public void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class CallStatementvisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class CallStatementvisitor - the visitor who is accepted by this node.