private static SAXException toSAXException(final SAXParseException exception) {

      final SAXException saxException =
          new SAXException(
              "Line "
                  + exception.getLineNumber()
                  + ':'
                  + exception.getColumnNumber()
                  + ": "
                  + exception.getMessage());
      saxException.setStackTrace(exception.getStackTrace());
      return saxException;
    }