Class BaseInboundErrorHandler

java.lang.Object
com.flowable.engage.external.system.common.BaseInboundErrorHandler
All Implemented Interfaces:
InboundErrorHandler

public abstract class BaseInboundErrorHandler extends Object implements InboundErrorHandler
Author:
Filip Hrisafov
  • Field Details

    • externalSystemId

      protected final String externalSystemId
  • Constructor Details

    • BaseInboundErrorHandler

      protected BaseInboundErrorHandler(String externalSystemId)
  • Method Details

    • getExternalSystemId

      public final String getExternalSystemId()
      Description copied from interface: InboundErrorHandler
      Returns the id of the external system implemented by this handler.
      Specified by:
      getExternalSystemId in interface InboundErrorHandler
      Returns:
      the external system id implemented by this handler
    • handleError

      public void handleError(InboundErrorDto error)
      Description copied from interface: InboundErrorHandler
      Handle the received error from the external adapter
      Specified by:
      handleError in interface InboundErrorHandler
      Parameters:
      error - the error from the external adapter
    • handleInternalError

      protected abstract void handleInternalError(InboundErrorDto status)
    • handleExternalError

      protected abstract void handleExternalError(InboundErrorDto status)
    • handleUnknownError

      protected abstract void handleUnknownError(InboundErrorDto status)