diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-22 21:35:04 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-22 21:35:04 +0000 |
commit | d4b2b23056acda2d8bf934d9178d5926743c4a2c (patch) | |
tree | e27f828c73364d8f3facf99007b7b4ee570d7d6b /libjava/java/security | |
parent | 7fbb9fa3f811c635565b1e7714c73e68308447c5 (diff) | |
download | ppe42-gcc-d4b2b23056acda2d8bf934d9178d5926743c4a2c.tar.gz ppe42-gcc-d4b2b23056acda2d8bf934d9178d5926743c4a2c.zip |
2005-02-22 Mark Wielaard <address@bogus.example.com>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security')
-rw-r--r-- | libjava/java/security/AlgorithmParameterGenerator.java | 2 | ||||
-rw-r--r-- | libjava/java/security/AlgorithmParameters.java | 2 | ||||
-rw-r--r-- | libjava/java/security/KeyFactory.java | 2 | ||||
-rw-r--r-- | libjava/java/security/KeyStore.java | 2 | ||||
-rw-r--r-- | libjava/java/security/SecureRandom.java | 2 | ||||
-rw-r--r-- | libjava/java/security/cert/CertificateFactory.java | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/libjava/java/security/AlgorithmParameterGenerator.java b/libjava/java/security/AlgorithmParameterGenerator.java index cf245da5a62..ed2f344010b 100644 --- a/libjava/java/security/AlgorithmParameterGenerator.java +++ b/libjava/java/security/AlgorithmParameterGenerator.java @@ -174,7 +174,7 @@ public class AlgorithmParameterGenerator Provider p = Security.getProvider(provider); if (p == null) - throw new NoSuchProviderException(); + throw new NoSuchProviderException(provider); return getInstance(algorithm, p); } diff --git a/libjava/java/security/AlgorithmParameters.java b/libjava/java/security/AlgorithmParameters.java index afeb843a97e..8ccd40a317c 100644 --- a/libjava/java/security/AlgorithmParameters.java +++ b/libjava/java/security/AlgorithmParameters.java @@ -178,7 +178,7 @@ public class AlgorithmParameters Provider p = Security.getProvider(provider); if (p == null) - throw new NoSuchProviderException(); + throw new NoSuchProviderException(provider); return getInstance(algorithm, p); } diff --git a/libjava/java/security/KeyFactory.java b/libjava/java/security/KeyFactory.java index 27171f50966..02709f4c8f3 100644 --- a/libjava/java/security/KeyFactory.java +++ b/libjava/java/security/KeyFactory.java @@ -163,7 +163,7 @@ public class KeyFactory Provider p = Security.getProvider(provider); if (p == null) - throw new NoSuchProviderException(); + throw new NoSuchProviderException(provider); return getInstance(algorithm, p); } diff --git a/libjava/java/security/KeyStore.java b/libjava/java/security/KeyStore.java index 99aaed3f123..f1e874786f5 100644 --- a/libjava/java/security/KeyStore.java +++ b/libjava/java/security/KeyStore.java @@ -164,7 +164,7 @@ public class KeyStore Provider p = Security.getProvider(provider); if (p == null) - throw new NoSuchProviderException(); + throw new NoSuchProviderException(provider); return getInstance(type, p); } diff --git a/libjava/java/security/SecureRandom.java b/libjava/java/security/SecureRandom.java index 43841b274f2..5d200383843 100644 --- a/libjava/java/security/SecureRandom.java +++ b/libjava/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); } diff --git a/libjava/java/security/cert/CertificateFactory.java b/libjava/java/security/cert/CertificateFactory.java index 31664401aea..6a9231703e4 100644 --- a/libjava/java/security/cert/CertificateFactory.java +++ b/libjava/java/security/cert/CertificateFactory.java @@ -138,7 +138,7 @@ public class CertificateFactory { Provider p = Security.getProvider(provider); if( p == null) - throw new NoSuchProviderException(); + throw new NoSuchProviderException(provider); return getInstance(type, p); } |