diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-26 07:49:16 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-26 07:49:16 +0000 |
commit | f42a0c29c577bb7a750807d8fd7ffb4f2938d139 (patch) | |
tree | deedc47ece25705e9c799331503ffceb80ada865 /libjava/java/net | |
parent | 5260943b9f5044e1207b2c22f895c0d0fd106858 (diff) | |
download | ppe42-gcc-f42a0c29c577bb7a750807d8fd7ffb4f2938d139.tar.gz ppe42-gcc-f42a0c29c577bb7a750807d8fd7ffb4f2938d139.zip |
2005-04-26 Mark Wielaard <mark@klomp.org>
* java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
to MalformedURLException.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net')
-rw-r--r-- | libjava/java/net/URL.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/java/net/URL.java b/libjava/java/net/URL.java index 7eb68cb3f07..130b604eba9 100644 --- a/libjava/java/net/URL.java +++ b/libjava/java/net/URL.java @@ -430,7 +430,8 @@ public final class URL implements Serializable authority = context.authority; } else // Protocol NOT specified in spec. and no context available. - throw new MalformedURLException("Absolute URL required with null context"); + throw new MalformedURLException("Absolute URL required with null" + + " context: " + spec); protocol = protocol.trim(); |