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.3.20.1.2.1 2004/06/08 22:44:56 rameshm Exp $
  6. package org.xml.sax;
  7. /**
  8. * Exception class for an unsupported operation.
  9. *
  10. * <blockquote>
  11. * <em>This module, both source code and documentation, is in the
  12. * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
  13. * See <a href='http://www.saxproject.org'>http://www.saxproject.org</a>
  14. * for further information.
  15. * </blockquote>
  16. *
  17. * <p>An XMLReader will throw this exception when it recognizes a
  18. * feature or property identifier, but cannot perform the requested
  19. * operation (setting a state or value). Other SAX2 applications and
  20. * extensions may use this class for similar purposes.</p>
  21. *
  22. * @since SAX 2.0
  23. * @author David Megginson
  24. * @version 2.0.1 (sax2r2)
  25. * @see org.xml.sax.SAXNotRecognizedException
  26. */
  27. public class SAXNotSupportedException extends SAXException
  28. {
  29. /**
  30. * Construct a new exception with no message.
  31. */
  32. public SAXNotSupportedException ()
  33. {
  34. super();
  35. }
  36. /**
  37. * Construct a new exception with the given message.
  38. *
  39. * @param message The text message of the exception.
  40. */
  41. public SAXNotSupportedException (String message)
  42. {
  43. super(message);
  44. }
  45. // Added serialVersionUID to preserve binary compatibility
  46. static final long serialVersionUID = -1422818934641823846L;
  47. }
  48. // end of SAXNotSupportedException.java