code: protected DatatypeException newDatatypeException(String message, boolean warning) {
          return new Html5DatatypeException(this.getClass(), this.getName(), message, warning);
      }
docs: /* for datatype exceptions that are handled as warnings, the following are
  alternative forms of all the above, with an additional "warning" parameter