[Webfunds-commits] java/webfunds/sox SimpleIssuer.java SmartIssuer.java
Ian Grigg
iang@cypherpunks.ai
Tue, 5 Sep 2000 14:21:54 -0400 (AST)
iang 00/09/05 14:21:54
Modified: webfunds/sox SimpleIssuer.java SmartIssuer.java
Log:
pass-thru exceptions need to also break the issuer else cyclic
behaviour results
Revision Changes Path
1.15 +9 -1 java/webfunds/sox/SimpleIssuer.java
Index: SimpleIssuer.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/SimpleIssuer.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SimpleIssuer.java 2000/09/03 16:55:04 1.14
+++ SimpleIssuer.java 2000/09/05 18:21:53 1.15
@@ -1,5 +1,5 @@
/*
- * $Id: SimpleIssuer.java,v 1.14 2000/09/03 16:55:04 iang Exp $
+ * $Id: SimpleIssuer.java,v 1.15 2000/09/05 18:21:53 iang Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -237,6 +237,14 @@
// ex.printStackTrace(err());
// setDead(ex.getMessage());
// throw new SOXIssuerException("bad IO request: " + ex.getMessage());
+ } catch (SOXIssuerException ex) { // Even if I don't deal with it...
+ logmsg("catching (and dying on)" + ex);
+ setDead(ex.getMessage()); // ...I should still bail out.
+ throw ex ;
+ } catch (SOXLaterException ex) { // Even if I don't deal with it...
+ logmsg("catching (and dying on)" + ex);
+ setDead(ex.getMessage()); // ...I should still bail out.
+ throw ex ;
}
}
1.14 +4 -1 java/webfunds/sox/SmartIssuer.java
Index: SmartIssuer.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/SmartIssuer.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SmartIssuer.java 2000/08/31 14:13:09 1.13
+++ SmartIssuer.java 2000/09/05 18:21:53 1.14
@@ -1,5 +1,5 @@
/*
- * $Id: SmartIssuer.java,v 1.13 2000/08/31 14:13:09 iang Exp $
+ * $Id: SmartIssuer.java,v 1.14 2000/09/05 18:21:53 iang Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -116,7 +116,10 @@
if (current != null)
{
if (!current.isDead())
+ {
+ logmsg(" ... smart 'n ready!");
return ;
+ }
current = null;
logmsg("old is dead, need new SimpleIssuer");