code: public static XMLStreamException unexpectedEndElement(final XMLExtendedStreamReader reader) {
          return ControllerLogger.ROOT_LOGGER.unexpectedEndElement(reader.getName(), reader.getLocation());
      }
docs: Get an exception reporting an unexpected end tag for an XML element.
  @param reader the stream reader
  @return the exception