summaryrefslogtreecommitdiff
path: root/java/security/SecureRandom.java
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2005-01-09 23:42:41 +0000
committerMark Wielaard <mark@klomp.org>2005-01-09 23:42:41 +0000
commit6dc34024a7bc326abd045486b89f8284fe2f65de (patch)
treefa6e85a995206d4f7bfb1b33b37d4b153a80dc29 /java/security/SecureRandom.java
parent0589c05e23f301498e41842ccbeb0470c02f5eda (diff)
downloadclasspath-6dc34024a7bc326abd045486b89f8284fe2f65de.tar.gz
* java/security/AlgorithmParameterGenerator.java (getInstance):
Mention provider when throwing NoSuchProviderException. * java/security/AlgorithmParameters.java (getInstance): Likewise. * java/security/KeyFactory.java (getInstance): Likewise. * java/security/KeyStore.java (getInstance): Likewise. * java/security/SecureRandom.java (getInstance): Likewise. * java/security/cert/CertificateFactory.java (getInstance): Likewise.
Diffstat (limited to 'java/security/SecureRandom.java')
-rw-r--r--java/security/SecureRandom.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/security/SecureRandom.java b/java/security/SecureRandom.java
index 80c9c9027..795c66474 100644
--- a/java/security/SecureRandom.java
+++ b/java/security/SecureRandom.java
@@ -218,7 +218,7 @@ public class SecureRandom extends Random
Provider p = Security.getProvider(provider);
if (p == null)
- throw new NoSuchProviderException();
+ throw new NoSuchProviderException(provider);
return getInstance(algorithm, p);
}