author | joehw |
Wed, 19 Dec 2012 12:09:10 +0000 | |
changeset 14908 | 1d01112e9ce5 |
child 23010 | 6dadb192ad81 |
permissions | -rw-r--r-- |
14908
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
1 |
/* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
2 |
* Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
4 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
10 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
15 |
* accompanied this code). |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
16 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
20 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
23 |
* questions. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
24 |
*/ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
25 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
26 |
// SAXNotSupportedException.java - unsupported feature or value. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
27 |
// http://www.saxproject.org |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
28 |
// Written by David Megginson |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
29 |
// NO WARRANTY! This class is in the Public Domain. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
30 |
// $Id: SAXNotSupportedException.java,v 1.4 2004/11/03 22:55:32 jsuttor Exp $ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
31 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
32 |
package jdk.internal.org.xml.sax; |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
33 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
34 |
/** |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
35 |
* Exception class for an unsupported operation. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
36 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
37 |
* <blockquote> |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
38 |
* <em>This module, both source code and documentation, is in the |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
39 |
* Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
40 |
* See <a href='http://www.saxproject.org'>http://www.saxproject.org</a> |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
41 |
* for further information. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
42 |
* </blockquote> |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
43 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
44 |
* <p>An XMLReader will throw this exception when it recognizes a |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
45 |
* feature or property identifier, but cannot perform the requested |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
46 |
* operation (setting a state or value). Other SAX2 applications and |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
47 |
* extensions may use this class for similar purposes.</p> |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
48 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
49 |
* @since SAX 2.0 |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
50 |
* @author David Megginson |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
51 |
* @see org.xml.sax.SAXNotRecognizedException |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
52 |
*/ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
53 |
public class SAXNotSupportedException extends SAXException |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
54 |
{ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
55 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
56 |
/** |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
57 |
* Construct a new exception with no message. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
58 |
*/ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
59 |
public SAXNotSupportedException () |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
60 |
{ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
61 |
super(); |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
62 |
} |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
63 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
64 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
65 |
/** |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
66 |
* Construct a new exception with the given message. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
67 |
* |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
68 |
* @param message The text message of the exception. |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
69 |
*/ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
70 |
public SAXNotSupportedException (String message) |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
71 |
{ |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
72 |
super(message); |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
73 |
} |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
74 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
75 |
// Added serialVersionUID to preserve binary compatibility |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
76 |
static final long serialVersionUID = -1422818934641823846L; |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
77 |
} |
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
78 |
|
1d01112e9ce5
8004371: (props) Properties.loadFromXML needs small footprint XML parser as fallback when JAXP is not present
joehw
parents:
diff
changeset
|
79 |
// end of SAXNotSupportedException.java |