case class TryCatchStatementNode(resourceSpecification: Option[ResourceSpecificationNode], block: BlockNode, catches: Seq[CatchClauseNode], finallyBlock: Option[BlockNode], labels: Seq[LabelNode], comments: Seq[CommentNode]) extends BlockStatementNode with Product with Serializable
A try-catch-finally statement node.
- resourceSpecification
optional resource specification as in Java 7 grammar.
- block
the try block.
- catches
the sequence of catch clauses.
- finallyBlock
the optional finally block.
- Alphabetic
- By Inheritance
- TryCatchStatementNode
- Serializable
- Serializable
- BlockStatementNode
- JavaASTNode
- HASTNode
- JsonSerializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TryCatchStatementNode(resourceSpecification: Option[ResourceSpecificationNode], block: BlockNode, catches: Seq[CatchClauseNode], finallyBlock: Option[BlockNode], labels: Seq[LabelNode], comments: Seq[CommentNode])
- resourceSpecification
optional resource specification as in Java 7 grammar.
- block
the try block.
- catches
the sequence of catch clauses.
- finallyBlock
the optional finally block.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bindLabel(label: LabelNode): TryCatchStatementNode
Binds a new label to this block.
Binds a new label to this block.
- label
a label.
- returns
a new node with the label added.
- Definition Classes
- TryCatchStatementNode → BlockStatementNode
- val block: BlockNode
- val catches: Seq[CatchClauseNode]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val comments: Seq[CommentNode]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val finallyBlock: Option[BlockNode]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
labels: Seq[LabelNode]
- Definition Classes
- TryCatchStatementNode → BlockStatementNode
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val resourceSpecification: Option[ResourceSpecificationNode]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )