[Webfunds-commits] java/webfunds/client/contracts/wizard WizardPanel.java
Ian Grigg
iang@cypherpunks.ai
Sun, 27 Aug 2000 23:21:54 -0400 (AST)
iang 00/08/27 23:21:54
Modified: webfunds/client/contracts/wizard WizardPanel.java
Log:
whoops, I meant ex.toString() was adequate for reporting, not getMessage()
Revision Changes Path
1.6 +6 -6 java/webfunds/client/contracts/wizard/WizardPanel.java
Index: WizardPanel.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/WizardPanel.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- WizardPanel.java 2000/08/28 03:03:16 1.5
+++ WizardPanel.java 2000/08/28 03:21:53 1.6
@@ -1,5 +1,5 @@
/*
- * $Id: WizardPanel.java,v 1.5 2000/08/28 03:03:16 iang Exp $
+ * $Id: WizardPanel.java,v 1.6 2000/08/28 03:21:53 iang Exp $
*
* Copyright (c) Systemics Inc 2000 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -27,7 +27,7 @@
* Abstract superclass for all panels in a wizard.
*
* @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
public abstract class WizardPanel extends JPanel {
@@ -139,10 +139,10 @@
Contract.USERID_TOP_LEVEL,
null);
} catch (StripKeyException ex) {
- error(ex.getMessage());
+ error(ex.toString());
return null;
} catch (ArmouredKeyException ex) {
- error(ex.getMessage());
+ error(ex.toString());
return null;
}
@@ -178,10 +178,10 @@
Contract.USERID_CONTRACT,
topKey);
} catch (StripKeyException ex) {
- error("StripKeyEx: " + ex.getMessage());
+ error(ex.toString());
return null;
} catch (ArmouredKeyException ex) {
- error("ArmouredKeyEx: " + ex.getMessage());
+ error(ex.toString());
return null;
}
return KeyUtil.publicKeyToString(key);