|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.core.ElementInterceptor
scriptella.core.ExceptionInterceptor
public final class ExceptionInterceptor
Intercepts exceptions thrown by wrapped executable elements. Additionally checks if ETL has been cancelled.
| Nested Class Summary | |
|---|---|
static class |
ExceptionInterceptor.ExecutionException
|
| Constructor Summary | |
|---|---|
ExceptionInterceptor(ExecutableElement next,
Location location)
|
|
| Method Summary | |
|---|---|
void |
execute(DynamicContext ctx)
Executes the element. |
static ExecutableElement |
prepare(ExecutableElement next,
Location loc)
|
| Methods inherited from class scriptella.core.ElementInterceptor |
|---|
executeNext, getCtxDecorator, getNext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionInterceptor(ExecutableElement next,
Location location)
| Method Detail |
|---|
public void execute(DynamicContext ctx)
ExecutableElementNote: the context may be decorated by DynamicContextDecorator.
ctx - context to use.
public static ExecutableElement prepare(ExecutableElement next,
Location loc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||