diff options
author | Sven Gothel <[email protected]> | 2013-11-27 03:30:03 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-27 03:30:03 +0100 |
commit | f523625e510dbff8d8bc16f1bbf0a1e9189e40d0 (patch) | |
tree | a077963385528f7bbeb0fdd0d3326527a813ad93 /src/java/com/jogamp/common/util | |
parent | e90a2c65519168fd825e57b554cc0d82fffebdc4 (diff) |
JarUtil: Use common strings for exceptions (same as used in IOUtil)
Diffstat (limited to 'src/java/com/jogamp/common/util')
-rw-r--r-- | src/java/com/jogamp/common/util/JarUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/JarUtil.java b/src/java/com/jogamp/common/util/JarUtil.java index 8897496..41455b7 100644 --- a/src/java/com/jogamp/common/util/JarUtil.java +++ b/src/java/com/jogamp/common/util/JarUtil.java @@ -204,7 +204,7 @@ public class JarUtil { if (0 <= idx) { uriS = uriS.substring(0, idx); // exclude '!/' } else { - throw new IllegalArgumentException("JAR URI does not contain jar uri terminator '!', in <"+classJarURI+">"); + throw new IllegalArgumentException("URI does not contain jar uri terminator '!', in <"+classJarURI+">"); } // from @@ -216,7 +216,7 @@ public class JarUtil { // no abs-path, check for protocol terminator ':' idx = uriS.lastIndexOf(':'); if(0 > idx) { - throw new IllegalArgumentException("JAR URI does not contain protocol terminator ':', in <"+classJarURI+">"); + throw new IllegalArgumentException("URI does not contain protocol terminator ':', in <"+classJarURI+">"); } } uriS = uriS.substring(idx+1); // just the jar name |