Пример #1
0
 private String stepText() {
   BreakpointData[] bpData = null;
   if (debugMode) {
     bpData = createBreakpointData();
   }
   StepCommand cmd = new StepCommand(bpData);
   return StepCommand.toXML(cmd);
 }
  @Override
  protected void markAsFailed(Throwable t) throws TaskNotFoundException {
    super.markAsFailed(t);

    if (this.deploymentEntity != null) {
      logger.error(
          "Deployment delete failed, mark deploymentEntity {} state as ERROR",
          this.deploymentEntity.getId());
      try {
        this.deploymentBackend.updateState(this.deploymentEntity, DeploymentState.ERROR);
      } catch (DeploymentNotFoundException e) {
        logger.warn("Could not find deployment to mark as error, DeploymentId=" + e.getId(), e);
      }
    }
  }
 @Override
 protected void markAsFailed(Throwable t) throws TaskNotFoundException {
   super.markAsFailed(t);
 }