Exemplo n.º 1
0
 /// <summary> 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>
 ///
 /// </summary>
 /// <param name="e">The warning information encoded as an exception.
 /// </param>
 /// <exception cref="Comzept.Genesis.Tidy.Xml.Sax.SAXException">Any SAX exception, possibly
 /// wrapping another exception.
 /// </exception>
 /// <seealso cref="Comzept.Genesis.Tidy.Xml.Sax.ErrorHandler.warning">
 /// </seealso>
 /// <seealso cref="Comzept.Genesis.Tidy.Xml.Sax.SAXParseException">
 /// </seealso>
 public virtual void  error(SAXParseException e)
 {
     // no op
 }
Exemplo n.º 2
0
 /// <summary> 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>
 ///
 /// </summary>
 /// <param name="e">The error information encoded as an exception.
 /// </param>
 /// <exception cref="Comzept.Genesis.Tidy.Xml.Sax.SAXException">Any SAX exception, possibly
 /// wrapping another exception.
 /// </exception>
 /// <seealso cref="Comzept.Genesis.Tidy.Xml.Sax.ErrorHandler.fatalError">
 /// </seealso>
 /// <seealso cref="Comzept.Genesis.Tidy.Xml.Sax.SAXParseException">
 /// </seealso>
 public virtual void  fatalError(SAXParseException e)
 {
     throw e;
 }
Exemplo n.º 3
0
 public virtual void  warning(SAXParseException e)
 {
     // no op
 }