code: @Override
      public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
          logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
                  mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.map.api.MAPServiceListener#onErrorComponent
  (org.restcomm.protocols.ss7.map.api.MAPDialog, java.lang.Long,
  org.restcomm.protocols.ss7.map.api.errors.MAPErrorMessage)