public class ErrorLoggingJob<EventAtom> extends CompositeJob<EventAtom>
| Constructor and Description |
|---|
ErrorLoggingJob(Job<EventAtom> job)
Composes the given job into an error logging job.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleError(Activation<? extends EventAtom> activation,
java.lang.Exception exception,
Context context)
Called if the
Job.execute(org.eclipse.viatra.transformation.evm.api.Activation<? extends EventAtom>, org.eclipse.viatra.transformation.evm.api.Context) method has thrown an exception to allow jobs to handle their own errors. |
executegetActivationStateprotected void handleError(Activation<? extends EventAtom> activation, java.lang.Exception exception, Context context)
JobJob.execute(org.eclipse.viatra.transformation.evm.api.Activation<? extends EventAtom>, org.eclipse.viatra.transformation.evm.api.Context) method has thrown an exception to allow jobs to handle their own errors.handleError in class CompositeJob<EventAtom>