[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: improved exception messages

Kaffe CVS cvs-commits at kaffe.org
Tue Jan 11 15:56:32 PST 2005


PatchSet 5835 
Date: 2005/01/11 23:51:17
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: improved exception messages

2005-01-11  Dalibor Topic  <robilad at kaffe.org>

        Resynced with GNU Classpath.

        2005-01-09  Mark Wielaard  <mark at klomp.org>

        * 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.

Members: 
	ChangeLog:1.3379->1.3380 
	libraries/javalib/java/security/AlgorithmParameterGenerator.java:1.4->1.5 
	libraries/javalib/java/security/AlgorithmParameters.java:1.5->1.6 
	libraries/javalib/java/security/KeyFactory.java:1.5->1.6 
	libraries/javalib/java/security/KeyStore.java:1.5->1.6 
	libraries/javalib/java/security/SecureRandom.java:1.8->1.9 
	libraries/javalib/java/security/cert/CertificateFactory.java:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3379 kaffe/ChangeLog:1.3380
--- kaffe/ChangeLog:1.3379	Mon Jan 10 20:08:03 2005
+++ kaffe/ChangeLog	Tue Jan 11 23:51:17 2005
@@ -1,3 +1,17 @@
+2005-01-11  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+
+	2005-01-09  Mark Wielaard  <mark at klomp.org>
+
+	* 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-01-10  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* Makefile.am: Fixed BUILD_ENVIRONMENT generation.
Index: kaffe/libraries/javalib/java/security/AlgorithmParameterGenerator.java
diff -u kaffe/libraries/javalib/java/security/AlgorithmParameterGenerator.java:1.4 kaffe/libraries/javalib/java/security/AlgorithmParameterGenerator.java:1.5
--- kaffe/libraries/javalib/java/security/AlgorithmParameterGenerator.java:1.4	Sat Oct 23 10:07:18 2004
+++ kaffe/libraries/javalib/java/security/AlgorithmParameterGenerator.java	Tue Jan 11 23:51:24 2005
@@ -174,7 +174,7 @@
 
     Provider p = Security.getProvider(provider);
     if (p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
 
     return getInstance(algorithm, p);
   }
Index: kaffe/libraries/javalib/java/security/AlgorithmParameters.java
diff -u kaffe/libraries/javalib/java/security/AlgorithmParameters.java:1.5 kaffe/libraries/javalib/java/security/AlgorithmParameters.java:1.6
--- kaffe/libraries/javalib/java/security/AlgorithmParameters.java:1.5	Sat Oct 23 10:07:18 2004
+++ kaffe/libraries/javalib/java/security/AlgorithmParameters.java	Tue Jan 11 23:51:24 2005
@@ -178,7 +178,7 @@
     
     Provider p = Security.getProvider(provider);
     if (p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
 
     return getInstance(algorithm, p);
   }
Index: kaffe/libraries/javalib/java/security/KeyFactory.java
diff -u kaffe/libraries/javalib/java/security/KeyFactory.java:1.5 kaffe/libraries/javalib/java/security/KeyFactory.java:1.6
--- kaffe/libraries/javalib/java/security/KeyFactory.java:1.5	Sat Oct 23 10:07:18 2004
+++ kaffe/libraries/javalib/java/security/KeyFactory.java	Tue Jan 11 23:51:24 2005
@@ -163,7 +163,7 @@
 
     Provider p = Security.getProvider(provider);
     if (p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
 
     return getInstance(algorithm, p);
   }
Index: kaffe/libraries/javalib/java/security/KeyStore.java
diff -u kaffe/libraries/javalib/java/security/KeyStore.java:1.5 kaffe/libraries/javalib/java/security/KeyStore.java:1.6
--- kaffe/libraries/javalib/java/security/KeyStore.java:1.5	Sat Oct 23 10:07:18 2004
+++ kaffe/libraries/javalib/java/security/KeyStore.java	Tue Jan 11 23:51:24 2005
@@ -164,7 +164,7 @@
 
     Provider p = Security.getProvider(provider);
     if (p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
 
     return getInstance(type, p);
   }
Index: kaffe/libraries/javalib/java/security/SecureRandom.java
diff -u kaffe/libraries/javalib/java/security/SecureRandom.java:1.8 kaffe/libraries/javalib/java/security/SecureRandom.java:1.9
--- kaffe/libraries/javalib/java/security/SecureRandom.java:1.8	Sat Dec  4 12:14:00 2004
+++ kaffe/libraries/javalib/java/security/SecureRandom.java	Tue Jan 11 23:51:24 2005
@@ -218,7 +218,7 @@
 
     Provider p = Security.getProvider(provider);
     if (p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
     
     return getInstance(algorithm, p);
   }
Index: kaffe/libraries/javalib/java/security/cert/CertificateFactory.java
diff -u kaffe/libraries/javalib/java/security/cert/CertificateFactory.java:1.5 kaffe/libraries/javalib/java/security/cert/CertificateFactory.java:1.6
--- kaffe/libraries/javalib/java/security/cert/CertificateFactory.java:1.5	Sat Oct 23 10:07:19 2004
+++ kaffe/libraries/javalib/java/security/cert/CertificateFactory.java	Tue Jan 11 23:51:24 2005
@@ -138,7 +138,7 @@
   {
     Provider p = Security.getProvider(provider);
     if( p == null)
-      throw new NoSuchProviderException();
+      throw new NoSuchProviderException(provider);
 
     return getInstance(type, p);
   }



More information about the kaffe mailing list