Package scriptella.core
Class ExceptionInterceptor
java.lang.Object
scriptella.core.ElementInterceptor
scriptella.core.ExceptionInterceptor
- All Implemented Interfaces:
ExecutableElement
Intercepts exceptions thrown by wrapped executable elements.
Additionally checks if ETL has been cancelled.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DynamicContext ctx) Executes the element.static ExecutableElementprepare(ExecutableElement next, Location loc) Methods inherited from class scriptella.core.ElementInterceptor
executeNext, getCtxDecorator, getNext
-
Constructor Details
-
ExceptionInterceptor
-
-
Method Details
-
execute
Description copied from interface:ExecutableElementExecutes the element.Note: the context may be decorated by
DynamicContextDecorator.- Parameters:
ctx- context to use.
-
prepare
-