Class DefaultJobExceptionHandlingStrategy
java.lang.Object
io.camunda.spring.client.jobhandling.DefaultJobExceptionHandlingStrategy
- All Implemented Interfaces:
JobExceptionHandlingStrategy
public class DefaultJobExceptionHandlingStrategy
extends Object
implements JobExceptionHandlingStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.spring.client.jobhandling.JobExceptionHandlingStrategy
JobExceptionHandlingStrategy.CommandWrapperCreator, JobExceptionHandlingStrategy.ExceptionHandlingContext -
Constructor Summary
ConstructorsConstructorDescriptionDefaultJobExceptionHandlingStrategy(CommandExceptionHandlingStrategy commandExceptionHandlingStrategy, MetricsRecorder metricsRecorder) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleException(Exception exception, JobExceptionHandlingStrategy.ExceptionHandlingContext context)
-
Constructor Details
-
DefaultJobExceptionHandlingStrategy
public DefaultJobExceptionHandlingStrategy(CommandExceptionHandlingStrategy commandExceptionHandlingStrategy, MetricsRecorder metricsRecorder)
-
-
Method Details
-
handleException
public void handleException(Exception exception, JobExceptionHandlingStrategy.ExceptionHandlingContext context) throws Exception - Specified by:
handleExceptionin interfaceJobExceptionHandlingStrategy- Throws:
Exception
-