mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 18:01:31 +08: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:
parent
b5abfc2344
commit
245b65adcc
@ -1,3 +1,13 @@
|
||||
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.
|
||||
|
||||
2005-02-22 Jeroen Frijters <jeroen@frijters.net>
|
||||
|
||||
* java/lang/reflect/Proxy.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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user