Try Catch
class TryCatch( val tryBlock: Block, val name: Identifier, val type: Identifier, val catchBlock: Block) : Statement
Content copied to clipboard
Try to execute tryBlock, but execute catchBlock as soon as an exception of type type is raised.
Constructors
Link copied to clipboard
fun TryCatch( tryBlock: Block, name: Identifier, type: Identifier, catchBlock: Block)
Content copied to clipboard
Properties
Link copied to clipboard
the identifier at which the exception object can be accessed as a constant inside the catchBlock
Link copied to clipboard
an identifier that resolves to a valid exception type. Only exceptions of this type will cause the execution of the catchBlock