01: // SAXNotSupportedException.java - unsupported feature or value.
02: // http://www.saxproject.org
03: // Written by David Megginson
04: // NO WARRANTY! This class is in the Public Domain.
05:
06: package org.xml.sax;
07:
08: /**
09: * Exception class for an unsupported operation.
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>An XMLReader will throw this exception when it recognizes a
19: * feature or property identifier, but cannot perform the requested
20: * operation (setting a state or value). Other SAX2 applications and
21: * extensions may use this class for similar purposes.</p>
22: *
23: * @since SAX 2.0
24: * @author David Megginson
25: * @version 2.0.1 (sax2r2)
26: * @see org.xml.sax.SAXNotRecognizedException
27: */
28: public class SAXNotSupportedException extends SAXException {
29:
30: /**
31: * Construct a new exception with no message.
32: */
33: public SAXNotSupportedException() {
34: super ();
35: }
36:
37: /**
38: * Construct a new exception with the given message.
39: *
40: * @param message The text message of the exception.
41: */
42: public SAXNotSupportedException(String message) {
43: super (message);
44: }
45:
46: }
47:
48: // end of SAXNotSupportedException.java
|