code: public void setErrorRootCauses(java.util.Collection<ErrorRootCause> errorRootCauses) {
          if (errorRootCauses == null) {
              this.errorRootCauses = null;
              return;
          }
  
          this.errorRootCauses = new java.util.ArrayList<ErrorRootCause>(errorRootCauses);
      }
docs: <p>
  A collection of ErrorRootCause structures corresponding to the trace segments.
  </p>
  
  @param errorRootCauses
  A collection of ErrorRootCause structures corresponding to the trace segments.