[Webfunds-commits] java/webfunds/sox Errors.java

Ian Grigg iang@cypherpunks.ai
Thu, 7 Dec 2000 17:34:37 -0400 (AST)


iang        00/12/07 17:34:37

  Modified:    webfunds/sox Errors.java
  Log:
  new token error

Revision  Changes    Path
1.18      +7 -3      java/webfunds/sox/Errors.java

Index: Errors.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Errors.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Errors.java	2000/11/30 13:38:21	1.17
+++ Errors.java	2000/12/07 21:34:37	1.18
@@ -1,5 +1,5 @@
 /*
- * $Id: Errors.java,v 1.17 2000/11/30 13:38:21 iang Exp $
+ * $Id: Errors.java,v 1.18 2000/12/07 21:34:37 iang Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -49,7 +49,7 @@
     public static final int ERROR_NOT_SUPPORTED        = 21; // by this Ivan
 
     /**
-     *  30-40 are bad arguments within a deposit or payment.
+     *  30-49 are bad arguments within a deposit or payment.
      */
     public static final int ERROR_NOT_A_PAYMENT        = 30;
     public static final int ERROR_PAYMENT_NOT_SIGNED   = 31;
@@ -63,6 +63,8 @@
     public static final int ERROR_ILLEGAL_DID          = 39;
     public static final int ERROR_NOT_ENUF             = 40;  // withdrawal
     public static final int ERROR_NOT_PROTO            = 41;  // withdrawal
+    public static final int ERROR_NOT_TOKEN            = 42;  // withdrawal
+    public static final int ERROR_UNAVAILABLE          = 43;  // withdrawal
 
 
     /**
@@ -131,7 +133,9 @@
         
     /* 40 */    "payment amount does not match proto amount",
                 "proto invalid",
-                        "", "", "", "", "", "", "", "", 
+                "not a token or invalid",
+                "type/series/log not available",
+                                "", "", "", "", "", "", 
 
     /* 50 */    "", "", "", "", "", "", "", "", "", "",