jdk/src/share/classes/sun/security/provider/SecureRandom.java
changeset 12682 4156af43d0bf
parent 10419 12c063b39232
child 14205 2985a896a899
--- a/jdk/src/share/classes/sun/security/provider/SecureRandom.java	Wed May 09 11:14:22 2012 -0700
+++ b/jdk/src/share/classes/sun/security/provider/SecureRandom.java	Wed May 09 16:33:30 2012 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -102,7 +102,7 @@
         try {
             digest = MessageDigest.getInstance ("SHA");
         } catch (NoSuchAlgorithmException e) {
-            throw new InternalError("internal error: SHA-1 not available.");
+            throw new InternalError("internal error: SHA-1 not available.", e);
         }
 
         if (seed != null) {