Наследование: org.xml.sax.SAXException
Пример #1
0
 //    throws SAXException
 ////////////////////////////////////////////////////////////////////
 // Default implementation of the ErrorHandler interface.
 ////////////////////////////////////////////////////////////////////
 /**
  * Receive notification of a parser warning.
  *
  * <p>The default implementation does nothing.  Application writers
  * may override this method in a subclass to take specific actions
  * for each warning, such as inserting the message in a log file or
  * printing it to the console.</p>
  *
  * @param e The warning information encoded as an exception.
  * @exception org.xml.sax.SAXException Any SAX exception, possibly
  *            wrapping another exception.
  * @see org.xml.sax.ErrorHandler#warning
  * @see org.xml.sax.SAXParseException
  */
 public void warning(SAXParseException e)
 {
     // no op
 }
Пример #2
0
 //    throws SAXException
 /**
  * Report a fatal XML parsing error.
  *
  * <p>The default implementation throws a SAXParseException.
  * Application writers may override this method in a subclass if
  * they need to take specific actions for each fatal error (such as
  * collecting all of the errors into a single report): in any case,
  * the application must stop all regular processing when this
  * method is invoked, since the document is no longer reliable, and
  * the parser may no longer report parsing events.</p>
  *
  * @param e The error information encoded as an exception.
  * @exception org.xml.sax.SAXException Any SAX exception, possibly
  *            wrapping another exception.
  * @see org.xml.sax.ErrorHandler#fatalError
  * @see org.xml.sax.SAXParseException
  */
 public void fatalError(SAXParseException e)
 {
     throw e;
 }
Пример #3
0
 //    throws SAXException
 /**
  * Receive notification of a recoverable parser error.
  *
  * <p>The default implementation does nothing.  Application writers
  * may override this method in a subclass to take specific actions
  * for each error, such as inserting the message in a log file or
  * printing it to the console.</p>
  *
  * @param e The warning information encoded as an exception.
  * @exception org.xml.sax.SAXException Any SAX exception, possibly
  *            wrapping another exception.
  * @see org.xml.sax.ErrorHandler#warning
  * @see org.xml.sax.SAXParseException
  */
 public void error(SAXParseException e)
 {
     // no op
 }
Пример #4
0
 /**
  * Report a fatal XML parsing error.
  *
  * <p>The default implementation throws a SAXParseException.
  * Application writers may override this method in a subclass if
  * they need to take specific actions for each fatal error (such as
  * collecting all of the errors into a single report): in any case,
  * the application must stop all regular processing when this
  * method is invoked, since the document is no longer reliable, and
  * the parser may no longer report parsing events.</p>
  *
  * @param e The error information encoded as an exception.
  * @exception org.xml.sax.SAXException Any SAX exception, possibly
  *            wrapping another exception.
  * @see org.xml.sax.ErrorHandler#fatalError
  * @see org.xml.sax.SAXParseException
  */
 public void fatalError(SAXParseException e)//	throws SAXException
 {
     throw e;
 }
Пример #5
0
 /**
  * Receive notification of a recoverable parser error.
  *
  * <p>The default implementation does nothing.  Application writers
  * may override this method in a subclass to take specific actions
  * for each error, such as inserting the message in a log file or
  * printing it to the console.</p>
  *
  * @param e The warning information encoded as an exception.
  * @exception org.xml.sax.SAXException Any SAX exception, possibly
  *            wrapping another exception.
  * @see org.xml.sax.ErrorHandler#warning
  * @see org.xml.sax.SAXParseException
  */
 public void error(SAXParseException e)//	throws SAXException
 {
     // no op
 }
Пример #6
0
        ////////////////////////////////////////////////////////////////////
        // Default implementation of the ErrorHandler interface.
        ////////////////////////////////////////////////////////////////////


        /**
         * Receive notification of a parser warning.
         *
         * <p>The default implementation does nothing.  Application writers
         * may override this method in a subclass to take specific actions
         * for each warning, such as inserting the message in a log file or
         * printing it to the console.</p>
         *
         * @param e The warning information encoded as an exception.
         * @exception org.xml.sax.SAXException Any SAX exception, possibly
         *            wrapping another exception.
         * @see org.xml.sax.ErrorHandler#warning
         * @see org.xml.sax.SAXParseException
         */
        public void warning(SAXParseException e)//	throws SAXException
        {
            // no op
        }