public abstract class GridInClosureX<T> extends Object implements GridInClosure<T>
apply(Object) method that calls applyx(Object) method
and properly wraps GridException into GridClosureException instance.CIX1,
Serialized Form| Constructor and Description |
|---|
GridInClosureX() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(T t)
Closure body.
|
abstract void |
applyx(T t)
In-closure body that can throw
GridException. |
public void apply(T t)
apply in interface GridInClosure<T>t - Closure argument.public abstract void applyx(T t) throws GridException
GridException.t - The variable the closure is called or closed on.GridException - Thrown in case of any error condition inside of the closure.Copyright © 2014. All rights reserved.