SAXNotRecognizedException (Java SE 25 & JDK 25)
Description: declaration: module: java.xml, package: org.xml.sax, class: SAXNotRecognizedException
Keywords: org.xml.sax.SAXNotRecognizedException class

# Class SAXNotRecognizedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.xml.sax.SAXNotRecognizedException

All Implemented Interfaces:
  `Serializable`

public class SAXNotRecognizedException extends SAXException
Exception class for an unrecognized identifier.

An XMLReader will throw this exception when it finds an unrecognized feature or property identifier; SAX applications and extensions may use this class for other, similar purposes.

Since:
  1.4, SAX 2.0
See Also:
  - `SAXNotSupportedException`
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SAXNotRecognizedException()`
  Default constructor.
  `SAXNotRecognizedException(String message)`
  Construct a new exception with the given message.

- ## Method Summary

  ### Methods declared in class SAXException

  `getCause, getException, getMessage, toString`

  ### Methods declared in class Throwable

  `addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

  ### Methods declared in class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### SAXNotRecognizedException

    public SAXNotRecognizedException()
    Default constructor.

  - ### SAXNotRecognizedException

    public SAXNotRecognizedException(String message)
    Construct a new exception with the given message.
    Parameters:
      `message` - The text message of the exception.