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:
handleExceptionin interfaceMessageActivityErrorHandler- Parameters:
api- notnullvariables- notnullsendTaskValues- notnullexception- notnull- Returns:
nullto prevent the process from being stopped
-
handleException
- Specified by:
handleExceptionin interfaceExceptionErrorHandler- Parameters:
api- notnullvariables- notnullexception- notnull- Returns:
nullto prevent the process from being stopped
-
handleErrorBoundaryEvent
public ErrorBoundaryEvent handleErrorBoundaryEvent(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) - Specified by:
handleErrorBoundaryEventin interfaceErrorBoundaryEventErrorHandler- Parameters:
api- notnullvariables- notnullevent- notnull- Returns:
nullto stop event propagation
-