Frames | No Frames |
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.1 2004/12/23 22:38:42 mark 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: */ 35: public SAXNotRecognizedException () 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 SAXNotRecognizedException (String message) 47: { 48: super(message); 49: } 50: 51: } 52: 53: // end of SAXNotRecognizedException.java