[freenet-cvs] r21994 - trunk/freenet/src/freenet/crypt

2008-08-18 Thread [email protected]
Author: nextgens
Date: 2008-08-18 09:59:24 + (Mon, 18 Aug 2008)
New Revision: 21994

Modified:
   trunk/freenet/src/freenet/crypt/SSL.java
Log:
Switch from a NotImplementedException we used from wrapper to an 
UnsupportedOperationException which is in the standard api (needed for next 
freenet-ext.jar)

Modified: trunk/freenet/src/freenet/crypt/SSL.java
===
--- trunk/freenet/src/freenet/crypt/SSL.java2008-08-18 09:41:24 UTC (rev 
21993)
+++ trunk/freenet/src/freenet/crypt/SSL.java2008-08-18 09:59:24 UTC (rev 
21994)
@@ -28,8 +28,6 @@
 import javax.net.ssl.KeyManagerFactory;
 import javax.net.ssl.SSLContext;

-import com.sleepycat.je.utilint.NotImplementedYetException;
-
 import freenet.config.InvalidConfigValueException;
 import freenet.config.SubConfig;
 import freenet.support.Logger;
@@ -217,7 +215,7 @@
fis = new FileInputStream(keyStore);
keystore.load(fis, keyStorePass.toCharArray());
} catch(FileNotFoundException fnfe) {
-   throw new NotImplementedYetException();
+   throw new UnsupportedOperationException("Not 
implemented yet!");
 // //If keystore not exist, create keystore and 
server certificat
 // keystore.load(null, keyStorePass.toCharArray());
 // CertAndKeyGen keypair = new 
CertAndKeyGen("DSA", "SHA1WithDSA");




[freenet-cvs] r21994 - trunk/freenet/src/freenet/crypt

2008-08-18 Thread nextgens
Author: nextgens
Date: 2008-08-18 09:59:24 + (Mon, 18 Aug 2008)
New Revision: 21994

Modified:
   trunk/freenet/src/freenet/crypt/SSL.java
Log:
Switch from a NotImplementedException we used from wrapper to an 
UnsupportedOperationException which is in the standard api (needed for next 
freenet-ext.jar)

Modified: trunk/freenet/src/freenet/crypt/SSL.java
===
--- trunk/freenet/src/freenet/crypt/SSL.java2008-08-18 09:41:24 UTC (rev 
21993)
+++ trunk/freenet/src/freenet/crypt/SSL.java2008-08-18 09:59:24 UTC (rev 
21994)
@@ -28,8 +28,6 @@
 import javax.net.ssl.KeyManagerFactory;
 import javax.net.ssl.SSLContext;
 
-import com.sleepycat.je.utilint.NotImplementedYetException;
-
 import freenet.config.InvalidConfigValueException;
 import freenet.config.SubConfig;
 import freenet.support.Logger;
@@ -217,7 +215,7 @@
fis = new FileInputStream(keyStore);
keystore.load(fis, keyStorePass.toCharArray());
} catch(FileNotFoundException fnfe) {
-   throw new NotImplementedYetException();
+   throw new UnsupportedOperationException("Not 
implemented yet!");
 // //If keystore not exist, create keystore and 
server certificat
 // keystore.load(null, keyStorePass.toCharArray());
 // CertAndKeyGen keypair = new 
CertAndKeyGen("DSA", "SHA1WithDSA");

___
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs