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

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Sun, 11 Jun 2000 15:55:20 -0400 (AST)


gelderen    00/06/11 15:55:20

  Modified:    webfunds/client/sox DepositException.java
  Log:
  Add some useful error codes.

Revision  Changes    Path
1.2       +5 -1      java/webfunds/client/sox/DepositException.java

Index: DepositException.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/DepositException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DepositException.java	2000/06/11 19:37:35	1.1
+++ DepositException.java	2000/06/11 19:55:20	1.2
@@ -1,4 +1,4 @@
-/* $Id: DepositException.java,v 1.1 2000/06/11 19:37:35 gelderen Exp $
+/* $Id: DepositException.java,v 1.2 2000/06/11 19:55:20 gelderen Exp $
  *
  * Copyright (c) 2000 Systemics Inc. on behalf of
  * The WebFunds Development Team. All rights reserved.
@@ -8,6 +8,10 @@
 
 public final class DepositException extends WalletException
 {
+    public static final int
+        UNKNOWN_ACCOUNT    = 1,
+        INSUFFICIENT_FUNDS = 2;
+
     private int code;