@Override
  public void checkCanceled() throws ProjectBuildException {
    if (getCancelStatus().isCanceled()) {
      throw new StopBuildException(JpsBuildBundle.message("build.message.the.build.has.been.canceled"));
    }
  }
@Override
  public void checkCanceled()