Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/xml/sax/SAXNotSupportedException.java
48534 views
/*1* Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425// SAXNotSupportedException.java - unsupported feature or value.26// http://www.saxproject.org27// Written by David Megginson28// NO WARRANTY! This class is in the Public Domain.29// $Id: SAXNotSupportedException.java,v 1.4 2004/11/03 22:55:32 jsuttor Exp $3031package org.xml.sax;3233/**34* Exception class for an unsupported operation.35*36* <blockquote>37* <em>This module, both source code and documentation, is in the38* Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>39* See <a href='http://www.saxproject.org'>http://www.saxproject.org</a>40* for further information.41* </blockquote>42*43* <p>An XMLReader will throw this exception when it recognizes a44* feature or property identifier, but cannot perform the requested45* operation (setting a state or value). Other SAX2 applications and46* extensions may use this class for similar purposes.</p>47*48* @since SAX 2.049* @author David Megginson50* @see org.xml.sax.SAXNotRecognizedException51*/52public class SAXNotSupportedException extends SAXException53{5455/**56* Construct a new exception with no message.57*/58public SAXNotSupportedException ()59{60super();61}626364/**65* Construct a new exception with the given message.66*67* @param message The text message of the exception.68*/69public SAXNotSupportedException (String message)70{71super(message);72}7374// Added serialVersionUID to preserve binary compatibility75static final long serialVersionUID = -1422818934641823846L;76}7778// end of SAXNotSupportedException.java798081