Package | Description |
---|---|
net.hydromatic.linq4j.expressions |
Object model for Java expressions.
|
Modifier and Type | Field and Description |
---|---|
List<CatchBlock> |
TryStatement.catchBlocks |
Modifier and Type | Method and Description |
---|---|
static CatchBlock |
Expressions.catch_(ParameterExpression parameter,
Statement statement)
Creates a CatchBlock representing a catch statement with a
reference to the caught Exception object for use in the handler
body.
|
static CatchBlock |
Expressions.makeCatchBlock(Type type,
ParameterExpression variable,
Expression body,
Expression filter)
Creates a CatchBlock representing a catch statement with the
specified elements.
|
Modifier and Type | Method and Description |
---|---|
static TryStatement |
Expressions.makeTry(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,
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,
Statement finally_,
CatchBlock... handlers)
Creates a TryExpression representing a try block with any
number of catch statements and a finally block, with varargs.
|
Modifier and Type | Method and Description |
---|---|
static TryStatement |
Expressions.makeTry(Type type,
Expression body,
Expression finally_,
Expression fault,
Iterable<? extends CatchBlock> handlers)
Creates a TryExpression representing a try block with the
specified elements.
|
static TryStatement |
Expressions.tryCatch(Statement body,
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.tryCatchFinally(Statement body,
Iterable<? extends CatchBlock> handlers,
Statement finally_)
Creates a TryExpression representing a try block with any
number of catch statements and a finally block.
|
Constructor and Description |
---|
TryStatement(Statement body,
List<CatchBlock> catchBlocks,
Statement fynally) |
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.