|
From: <pe...@us...> - 2003-12-19 18:02:44
|
Update of /cvsroot/neuclear/neuclear-signer/src/java/org/neuclear/signers/standalone
In directory sc8-pr-cvs1:/tmp/cvs-serv5137/src/java/org/neuclear/signers/standalone
Modified Files:
StandaloneSigningServlet.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: StandaloneSigningServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-signer/src/java/org/neuclear/signers/standalone/StandaloneSigningServlet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StandaloneSigningServlet.java 19 Dec 2003 00:30:55 -0000 1.3
--- StandaloneSigningServlet.java 19 Dec 2003 18:02:41 -0000 1.4
***************
*** 35,39 ****
}
! protected Signer createSigner(ServletConfig config) throws CryptoException {
try {
return new DefaultSigner(agent);
--- 35,39 ----
}
! protected Signer createSigner(ServletConfig config) throws UserCancellationException {
try {
return new DefaultSigner(agent);
|