[Webfunds-commits] java/webfunds/client/sox SOXServerStore.java

Ian Grigg iang@cypherpunks.ai
Thu, 13 Jul 2000 20:17:59 -0400 (AST)


iang        00/07/13 20:17:59

  Modified:    webfunds/client/sox SOXServerStore.java
  Log:
  oops, missing from last commit, this should work (honest!)

Revision  Changes    Path
1.11      +4 -2      java/webfunds/client/sox/SOXServerStore.java

Index: SOXServerStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/SOXServerStore.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SOXServerStore.java	2000/07/13 23:29:31	1.10
+++ SOXServerStore.java	2000/07/14 00:17:59	1.11
@@ -1,5 +1,5 @@
 /*
- * $Id: SOXServerStore.java,v 1.10 2000/07/13 23:29:31 iang Exp $
+ * $Id: SOXServerStore.java,v 1.11 2000/07/14 00:17:59 iang Exp $
  *
  * Copyright (c) 1995-2000 Systemics Inc. on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -75,7 +75,9 @@
     {
         Contract con = contracts.getContract(id);
         if (con == null)
-            throw new SOXIssuerException("no contract available for " + id);
+            throw new SOXIssuerException(SOXIssuerException.NO_CONTRACT,
+                                         "cannot point to server " +
+                                         "without contract for " + id);
         logmsg("Obtained contract: " + con);
         return getIssuer(con) ;
     }