code: @Override
      public void uploadFailed(final FailedEvent event) {
          assertStateConsistency(fileUploadId, event.getFilename());
  
          if (!isUploadInterrupted()) {
              interruptUploadDueToUploadFailed();
          }
          publishUploadFailedAndFinishedEvent(fileUploadId, event.getReason());
      }
docs: Upload failed for {@link Upload} variant.
  
  @see com.vaadin.ui.Upload.FailedListener#uploadFailed(com.vaadin.ui.Upload.FailedEvent)