View Javadoc

1   // SAX exception class.
2   // http://www.saxproject.org
3   // No warranty; no copyright -- use this as you will.
4   // $Id$
5   
6   package org.xml.sax;
7   
8   /***
9    * Encapsulate a general SAX error or warning.
10   *
11   * <blockquote>
12   * <em>This module, both source code and documentation, is in the
13   * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
14   * See <a href='http://www.saxproject.org'>http://www.saxproject.org</a>
15   * for further information.
16   * </blockquote>
17   *
18   * <p>This class can contain basic error or warning information from
19   * either the XML parser or the application: a parser writer or
20   * application writer can subclass it to provide additional
21   * functionality.  SAX handlers may throw this exception or
22   * any exception subclassed from it.</p>
23   *
24   * <p>If the application needs to pass through other types of
25   * exceptions, it must wrap those exceptions in a SAXException
26   * or an exception derived from a SAXException.</p>
27   *
28   * <p>If the parser or application needs to include information about a
29   * specific location in an XML document, it should use the
30   * {@link org.xml.sax.SAXParseException SAXParseException} subclass.</p>
31   *
32   * @since SAX 1.0
33   * @author David Megginson
34   * @version 2.0.1 (sax2r2)
35   * @see org.xml.sax.SAXParseException
36   */
37  public class SAXException extends Exception {
38  
39      public SAXException (String message) {
40  		super(message);
41      }
42      
43  }
44  
45  // end of SAXException.java