Home | History | Annotate | Download | only in sax
      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.7 2002/01/30 21:13:48 dbrownell 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
     30 {
     31 
     32     /**
     33      * Construct a new exception with no message.
     34      */
     35     public SAXNotSupportedException ()
     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      */
     45     public SAXNotSupportedException (String message)
     46     {
     47     super(message);
     48     }
     49 
     50 }
     51 
     52 // end of SAXNotSupportedException.java
     53