Package dev.dsf.bpe.v2.error.impl
Class ExceptionToErrorBoundaryEventTranslationErrorHandler
java.lang.Object
dev.dsf.bpe.v2.error.impl.ExceptionToErrorBoundaryEventTranslationErrorHandler
- All Implemented Interfaces:
ErrorBoundaryEventErrorHandler
,ErrorHandler
,ExceptionErrorHandler
,ExecutionListenerErrorHandler
,MessageActivityErrorHandler
,MessageSendTaskErrorHandler
,ServiceTaskErrorHandler
,UserTaskListenerErrorHandler
public class ExceptionToErrorBoundaryEventTranslationErrorHandler
extends Object
implements ServiceTaskErrorHandler, MessageSendTaskErrorHandler, ExecutionListenerErrorHandler, UserTaskListenerErrorHandler
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleErrorBoundaryEvent
(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) handleException
(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) handleException
(ProcessPluginApi api, Variables variables, Exception exception)
-
Field Details
-
DEFAULT_ERROR_MESSAGE_TRANSLATOR
-
-
Constructor Details
-
ExceptionToErrorBoundaryEventTranslationErrorHandler
-
ExceptionToErrorBoundaryEventTranslationErrorHandler
-
-
Method Details
-
handleException
public Exception handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) - Specified by:
handleException
in interfaceMessageActivityErrorHandler
- Parameters:
api
- notnull
variables
- notnull
sendTaskValues
- notnull
exception
- notnull
- Returns:
null
to prevent the process from being stopped
-
handleException
- Specified by:
handleException
in interfaceExceptionErrorHandler
- Parameters:
api
- notnull
variables
- notnull
exception
- notnull
- Returns:
null
to prevent the process from being stopped
-
handleErrorBoundaryEvent
public ErrorBoundaryEvent handleErrorBoundaryEvent(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) - Specified by:
handleErrorBoundaryEvent
in interfaceErrorBoundaryEventErrorHandler
- Parameters:
api
- notnull
variables
- notnull
event
- notnull
- Returns:
null
to stop event propagation
-