|
From: <pe...@us...> - 2003-12-19 18:03:37
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/jce
In directory sc8-pr-cvs1:/tmp/cvs-serv5310/src/java/org/neuclear/id/jce
Modified Files:
NeuClearCertificateFactory.java
Log Message:
Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
- For most cases the main exception to worry about now is InvalidNamedObjectException.
- Most lowerlevel exception that cant be handled meaningful are now wrapped in the LowLevelException, a
runtime exception.
- Source and Store patterns each now have their own exceptions that generalizes the various physical
exceptions that can happen in that area.
Index: NeuClearCertificateFactory.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/jce/NeuClearCertificateFactory.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** NeuClearCertificateFactory.java 17 Dec 2003 12:45:57 -0000 1.8
--- NeuClearCertificateFactory.java 19 Dec 2003 18:03:34 -0000 1.9
***************
*** 35,38 ****
--- 35,46 ----
$Id$
$Log$
+ Revision 1.9 2003/12/19 18:03:34 pelle
+ Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
+ - For most cases the main exception to worry about now is InvalidNamedObjectException.
+ - Most lowerlevel exception that cant be handled meaningful are now wrapped in the LowLevelException, a
+ runtime exception.
+ - Source and Store patterns each now have their own exceptions that generalizes the various physical
+ exceptions that can happen in that area.
+
Revision 1.8 2003/12/17 12:45:57 pelle
NeuClear JCE Certificates now work with KeyStore.
***************
*** 91,96 ****
return ((Identity)VerifyingReader.getInstance().read(inputStream)).getCertificate();
} catch (NeuClearException e) {
- throw new CertificateException("NeuClear: Problem reading Certificate:"+e.getMessage());
- } catch (XMLException e) {
throw new CertificateException("NeuClear: Problem reading Certificate:"+e.getMessage());
}
--- 99,102 ----
|