001// SAXNotSupportedException.java - unsupported feature or value. 002// http://www.saxproject.org 003// Written by David Megginson 004// NO WARRANTY! This class is in the Public Domain. 005// $Id: SAXNotSupportedException.java,v 1.1 2004/12/23 22:38:42 mark Exp $ 006 007package org.xml.sax; 008 009/** 010 * Exception class for an unsupported operation. 011 * 012 * <blockquote> 013 * <em>This module, both source code and documentation, is in the 014 * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> 015 * See <a href='http://www.saxproject.org'>http://www.saxproject.org</a> 016 * for further information. 017 * </blockquote> 018 * 019 * <p>An XMLReader will throw this exception when it recognizes a 020 * feature or property identifier, but cannot perform the requested 021 * operation (setting a state or value). Other SAX2 applications and 022 * extensions may use this class for similar purposes.</p> 023 * 024 * @since SAX 2.0 025 * @author David Megginson 026 * @version 2.0.1 (sax2r2) 027 * @see org.xml.sax.SAXNotRecognizedException 028 */ 029public class SAXNotSupportedException extends SAXException 030{ 031 032 /** 033 * Construct a new exception with no message. 034 */ 035 public SAXNotSupportedException () 036 { 037 super(); 038 } 039 040 041 /** 042 * Construct a new exception with the given message. 043 * 044 * @param message The text message of the exception. 045 */ 046 public SAXNotSupportedException (String message) 047 { 048 super(message); 049 } 050 051} 052 053// end of SAXNotSupportedException.java