code: @SuppressWarnings({"ThrowableInstanceNeverThrown"})
      public void warning(String msg, Exception ex) throws SAXException{
          xml.warning(new SAXParseException(msg, null, ex));
      }
docs: /*-------------------------------------------------[ Errors ]---------------------------------------------------