1 // SAXNotRecognizedException.java - unrecognized 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: SAXNotRecognizedException.java,v 1.7 2002/01/30 21:13:48 dbrownell Exp $ 6 7 package org.xml.sax; 8 9 10 /** 11 * Exception class for an unrecognized identifier. 12 * 13 * <blockquote> 14 * <em>This module, both source code and documentation, is in the 15 * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> 16 * See <a href='http://www.saxproject.org'>http://www.saxproject.org</a> 17 * for further information. 18 * </blockquote> 19 * 20 * <p>An XMLReader will throw this exception when it finds an 21 * unrecognized feature or property identifier; SAX applications and 22 * extensions may use this class for other, similar purposes.</p> 23 * 24 * @since SAX 2.0 25 * @author David Megginson 26 * @version 2.0.1 (sax2r2) 27 * @see org.xml.sax.SAXNotSupportedException 28 */ 29 public class SAXNotRecognizedException extends SAXException 30 { 31 32 /** 33 * Default constructor. 34 */ SAXNotRecognizedException()35 public SAXNotRecognizedException () 36 { 37 } 38 39 40 /** 41 * Construct a new exception with the given message. 42 * 43 * @param message The text message of the exception. 44 */ SAXNotRecognizedException(String message)45 public SAXNotRecognizedException (String message) 46 { 47 super(message); 48 } 49 50 } 51 52 // end of SAXNotRecognizedException.java 53