Class BaseInboundErrorHandler
java.lang.Object
com.flowable.engage.external.system.common.BaseInboundErrorHandler
- All Implemented Interfaces:
InboundErrorHandler
public abstract class BaseInboundErrorHandler extends java.lang.Object implements InboundErrorHandler
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
externalSystemId
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseInboundErrorHandler(java.lang.String externalSystemId)
-
Method Summary
Modifier and Type Method Description java.lang.String
getExternalSystemId()
Returns the id of the external system implemented by this handler.void
handleError(InboundErrorDto error)
Handle the received error from the external adapterprotected abstract void
handleExternalError(InboundErrorDto status)
protected abstract void
handleInternalError(InboundErrorDto status)
protected abstract void
handleUnknownError(InboundErrorDto status)
-
Field Details
-
externalSystemId
protected final java.lang.String externalSystemId
-
-
Constructor Details
-
BaseInboundErrorHandler
protected BaseInboundErrorHandler(java.lang.String externalSystemId)
-
-
Method Details
-
getExternalSystemId
public final java.lang.String getExternalSystemId()Description copied from interface:InboundErrorHandler
Returns the id of the external system implemented by this handler.- Specified by:
getExternalSystemId
in interfaceInboundErrorHandler
- Returns:
- the external system id implemented by this handler
-
handleError
Description copied from interface:InboundErrorHandler
Handle the received error from the external adapter- Specified by:
handleError
in interfaceInboundErrorHandler
- Parameters:
error
- the error from the external adapter
-
handleInternalError
-
handleExternalError
-
handleUnknownError
-