code: public void endError() throws IOException {
          ResponseWriter writer = getWrapped();
          writer.endCDATA();
          writer.endElement("error-message");
          writer.endElement("error");
      }
docs: <p class="changed_added_2_0">Write the end of an error.</p>
  
  @throws IOException if an input/output error occurs
  @since 2.0