commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r480169 - /jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Date Tue, 28 Nov 2006 19:37:36 GMT
Author: rahul
Date: Tue Nov 28 11:37:36 2006
New Revision: 480169

URL: http://svn.apache.org/viewvc?view=rev&rev=480169
Log:
Remove JDK 1.5 IAE c'tors from r479207: http://svn.apache.org/viewvc?view=rev&revision=479207

DIGESTER-110

Modified:
    jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java

Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java?view=diff&rev=480169&r1=480168&r2=480169
==============================================================================
--- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
(original)
+++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Tue Nov 28 11:37:36 2006
@@ -1600,7 +1600,8 @@
                 try {
                     entityURL = new URL(systemId);
                 } catch (MalformedURLException e) {
-                    throw new IllegalArgumentException(systemId, e);
+                    throw new IllegalArgumentException("Malformed URL '" + systemId
+                        + "' : " + e.getMessage());
                 }
             }
         }
@@ -1878,7 +1879,8 @@
         try {
             entityValidator.put(publicId, new URL(entityURL));
         } catch (MalformedURLException e) {
-            throw new IllegalArgumentException(entityURL, e);
+            throw new IllegalArgumentException("Malformed URL '" + entityURL
+                + "' : " + e.getMessage());
         }
 
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message