From 198b274f322a88563ce288262f58d1154710b45a Mon Sep 17 00:00:00 2001 From: Mario Torre Date: Thu, 27 Mar 2008 17:39:25 +0000 Subject: 2008-03-27 Mario Torre * gnu/xml/stream/SAXParser.java (getProperty): throw SAXNotRecognizedException instead of SAXNotSupportedException after fall through all known properties. * javax/xml/namespace/QName.java (valueOf): throw IllegalArgumentException if string is null. * java/util/concurrent/CopyOnWriteArrayList.java (lastIndexOf): fixed indentation. (indexOf): likewise. --- gnu/xml/stream/SAXParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/xml/stream/SAXParser.java b/gnu/xml/stream/SAXParser.java index 02f636a65..ab1f86e49 100644 --- a/gnu/xml/stream/SAXParser.java +++ b/gnu/xml/stream/SAXParser.java @@ -233,7 +233,7 @@ public class SAXParser return baseAware ? Boolean.TRUE : Boolean.FALSE; if ((GNU_PROPERTIES + "document-xml-encoding").equals(name)) return xmlEncoding; - throw new SAXNotSupportedException(name); + throw new SAXNotRecognizedException(name); } public boolean isXIncludeAware() -- cgit v1.2.1