KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > xml > sax > SAXNotSupportedException


1 // SAXNotSupportedException.java - unsupported feature or value.
2
// http://www.saxproject.org
3
// Written by David Megginson
4
// NO WARRANTY! This class is in the Public Domain.
5
// $Id: SAXNotSupportedException.java,v 1.3.20.1.2.1 2004/06/08 22:44:56 rameshm Exp $
6

7 package org.xml.sax;
8
9 /**
10  * Exception class for an unsupported operation.
11  *
12  * <blockquote>
13  * <em>This module, both source code and documentation, is in the
14  * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
15  * See <a HREF='http://www.saxproject.org'>http://www.saxproject.org</a>
16  * for further information.
17  * </blockquote>
18  *
19  * <p>An XMLReader will throw this exception when it recognizes a
20  * feature or property identifier, but cannot perform the requested
21  * operation (setting a state or value). Other SAX2 applications and
22  * extensions may use this class for similar purposes.</p>
23  *
24  * @since SAX 2.0
25  * @author David Megginson
26  * @version 2.0.1 (sax2r2)
27  * @see org.xml.sax.SAXNotRecognizedException
28  */

29 public class SAXNotSupportedException extends SAXException JavaDoc
30 {
31
32     /**
33      * Construct a new exception with no message.
34      */

35     public SAXNotSupportedException ()
36     {
37     super();
38     }
39
40
41     /**
42      * Construct a new exception with the given message.
43      *
44      * @param message The text message of the exception.
45      */

46     public SAXNotSupportedException (String JavaDoc message)
47     {
48     super(message);
49     }
50
51     // Added serialVersionUID to preserve binary compatibility
52
static final long serialVersionUID = -1422818934641823846L;
53 }
54
55 // end of SAXNotSupportedException.java
56
Popular Tags