|
From: <pe...@us...> - 2003-12-19 18:02:57
|
Update of /cvsroot/neuclear/neuclear-commons/src/test-cactus/org/neuclear/commons/crypto/passphraseagents
In directory sc8-pr-cvs1:/tmp/cvs-serv5157/src/test-cactus/org/neuclear/commons/crypto/passphraseagents
Modified Files:
MockPassphraseServlet.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: MockPassphraseServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/test-cactus/org/neuclear/commons/crypto/passphraseagents/MockPassphraseServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MockPassphraseServlet.java 14 Dec 2003 20:52:55 -0000 1.1
--- MockPassphraseServlet.java 19 Dec 2003 18:02:53 -0000 1.2
***************
*** 27,30 ****
--- 27,35 ----
return agent.getPassPhrase(name); //To change body of implemented methods use Options | File Templates.
}
+
+ public char[] getPassPhrase(String name, boolean incorrect) throws UserCancellationException {
+ return getPassPhrase(name);
+ }
+
private ServletPassPhraseAgent agent;
}
|