code: public DeploymentException composeComprehensiveException() {
          StringBuilder sb = new StringBuilder();
  
          for (Exception exception : exceptionsToPublish) {
              sb.append(exception.getMessage());
              sb.append("\n");
          }
  
          return new DeploymentException(sb.toString());
      }
docs: Create {@link DeploymentException} with message concatenated from collected exceptions.
  
  @return comprehensive exception.