mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-07 07:57:30 +02:00
AlgorithmParameterGenerator.java (getInstance): Mention provider when throwing NoSuchProviderException.
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. From-SVN: r95416
This commit is contained in:
committed by
Michael Koch
parent
b5abfc2344
commit
245b65adcc
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user