static TryStatement |
Expressions.makeTry(java.lang.reflect.Type type,
Expression body,
Expression finally_,
Expression fault,
java.lang.Iterable<? extends CatchBlock> handlers) |
Creates a TryExpression representing a try block with the
specified elements.
|
static TryStatement |
Expressions.makeTry(java.lang.reflect.Type type,
Expression body,
Expression finally_,
Expression fault,
CatchBlock... handlers) |
Creates a TryExpression representing a try block with the
specified elements, using varargs.
|
static TryStatement |
Expressions.tryCatch(Statement body,
java.lang.Iterable<? extends CatchBlock> handlers) |
Creates a TryExpression representing a try block with any
number of catch statements and neither a fault nor finally
block.
|
static TryStatement |
Expressions.tryCatch(Statement body,
CatchBlock... handlers) |
Creates a TryExpression representing a try block with any
number of catch statements and neither a fault nor finally
block, with varargs.
|
static TryStatement |
Expressions.tryCatchFinally(Statement body,
java.lang.Iterable<? extends CatchBlock> handlers,
Statement finally_) |
Creates a TryExpression representing a try block with any
number of catch statements and a finally block.
|
static TryStatement |
Expressions.tryCatchFinally(Statement body,
Statement finally_,
CatchBlock... handlers) |
Creates a TryExpression representing a try block with any
number of catch statements and a finally block, with varargs.
|
static TryStatement |
Expressions.tryFinally(Statement body,
Statement finally_) |
Creates a TryExpression representing a try block with a
finally block and no catch statements.
|