jdk/src/share/classes/java/text/BreakIterator.java
changeset 10419 12c063b39232
parent 5506 202f599c92aa
child 10883 d77f8ddbc904
--- a/jdk/src/share/classes/java/text/BreakIterator.java	Tue Aug 30 14:41:12 2011 +0100
+++ b/jdk/src/share/classes/java/text/BreakIterator.java	Tue Aug 30 11:53:11 2011 -0700
@@ -254,7 +254,7 @@
             return super.clone();
         }
         catch (CloneNotSupportedException e) {
-            throw new InternalError();
+            throw new InternalError(e);
         }
     }
 
@@ -617,7 +617,7 @@
             }
         }
         catch (Exception e) {
-            throw new InternalError(e.toString());
+            throw new InternalError(e.toString(), e);
         }
     }