code: protected void addCommitError(Exception error) {
  
          if (m_commitErrors == null) {
              m_commitErrors = new ArrayList<Throwable>();
          }
          m_commitErrors.add(error);
      }
docs: Adds the given error to the list of errors that are thrown by save actions or form generation.<p>
  
  If the error list has not been initialized yet, this is done automatically.<p>
  
  @param error the errors to add