[kaffe] CVS kaffe (robilad): Removed unnecessary exception wrapping
in Sting constructor
Kaffe CVS
cvs-commits at kaffe.org
Mon Oct 11 02:01:55 PDT 2004
PatchSet 5266
Date: 2004/10/11 08:58:06
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Removed unnecessary exception wrapping in Sting constructor
2004-10-09 Noa Resare <noa at resare.com>
* libraries/javalib/java/lang/String.java:
removed wrapping of UnsupportedEncodingException in Error
Members:
libraries/javalib/java/lang/String.java:1.42->1.43
Index: kaffe/libraries/javalib/java/lang/String.java
diff -u kaffe/libraries/javalib/java/lang/String.java:1.42 kaffe/libraries/javalib/java/lang/String.java:1.43
--- kaffe/libraries/javalib/java/lang/String.java:1.42 Wed Sep 29 16:44:09 2004
+++ kaffe/libraries/javalib/java/lang/String.java Mon Oct 11 08:58:06 2004
@@ -136,10 +136,6 @@
value = EncodingManager.getDecoder(encoding)
.convertToChars(data, offset, count);
}
- catch (UnsupportedEncodingException uee)
- {
- throw new Error(uee);
- }
catch (CharConversionException cce)
{
throw new Error(cce);
More information about the kaffe
mailing list