public class CatchExpression extends Object implements Serializable
Builder.tryCatch(Block, List),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
Block |
handler
Code that executes up on receiving an exception.
|
String |
name
Name of the variable that receives the exception.
|
Class<? extends Throwable> |
type
Type of the exception to catch.
|
| Constructor and Description |
|---|
CatchExpression(Class<? extends Throwable> type,
String name,
Block handler) |
Copyright © 2011–2019. All rights reserved.