public final class CatchClause extends Node
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
CatchClause() |
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(MultiTypeParameter except,
BlockStmt catchBlock) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
BlockStmt |
getCatchBlock() |
MultiTypeParameter |
getExcept() |
void |
setCatchBlock(BlockStmt catchBlock) |
void |
setExcept(MultiTypeParameter except) |
addOrphanComment, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public CatchClause()
public CatchClause(MultiTypeParameter except, BlockStmt catchBlock)
public CatchClause(int exceptModifier, List<AnnotationExpr> exceptAnnotations, List<Type> exceptTypes, VariableDeclaratorId exceptId, BlockStmt catchBlock)
public CatchClause(int beginLine, int beginColumn, int endLine, int endColumn, int exceptModifier, List<AnnotationExpr> exceptAnnotations, List<Type> exceptTypes, VariableDeclaratorId exceptId, BlockStmt catchBlock)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public BlockStmt getCatchBlock()
public MultiTypeParameter getExcept()
public void setCatchBlock(BlockStmt catchBlock)
public void setExcept(MultiTypeParameter except)
Copyright © 2007-2015. All Rights Reserved.