webfunds.client.sox
Class WalletException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--webfunds.client.sox.WalletException
Direct Known Subclasses:
CancelException, DepositException, PaymentException

public class WalletException
extends java.lang.Exception

This exception base class is inherited by all internal SOX Wallet Exceptions.

See Also:
Serialized Form

Field Summary
static int ALREADY
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int CLOSED
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int INTERNAL
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int LAST_WALLET_ERRNO
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int NOT_ENUF_FUNDS
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int NOT_VALUE
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int PID_IN_USE
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int SERVER
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int TOO_LATE
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int UNKNOWN
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int UNKNOWN_AC
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int UNKNOWN_SUB
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
static int UNKNOWN_TYPE
          These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100.
 
Constructor Summary
WalletException(int num)
           
WalletException(int num, java.lang.String msg)
           
WalletException(java.lang.String msg)
           
 
Method Summary
 int getNumber()
           
 boolean isAlready()
           
 boolean isClosed()
           
 boolean isFailed()
           
 boolean isLater()
           
 boolean isNoFunds()
           
 boolean isTooLate()
           
 boolean isUnknownAccount()
          Use these rather than worry about which number...
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

ALREADY

public static final int ALREADY
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

SERVER

public static final int SERVER
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

TOO_LATE

public static final int TOO_LATE
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

INTERNAL

public static final int INTERNAL
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

UNKNOWN_AC

public static final int UNKNOWN_AC
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

UNKNOWN_SUB

public static final int UNKNOWN_SUB
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

NOT_VALUE

public static final int NOT_VALUE
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

NOT_ENUF_FUNDS

public static final int NOT_ENUF_FUNDS
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

PID_IN_USE

public static final int PID_IN_USE
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

CLOSED

public static final int CLOSED
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

UNKNOWN_TYPE

public static final int UNKNOWN_TYPE
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!

LAST_WALLET_ERRNO

public static final int LAST_WALLET_ERRNO
These high-level wallet errors are positive and greater than 99, leaving room for SOXException errors to be negative, and SOX Errors(.java) to be 0-100. This is a lot of overloading!
Constructor Detail

WalletException

public WalletException(java.lang.String msg)

WalletException

public WalletException(int num)

WalletException

public WalletException(int num,
                       java.lang.String msg)
Method Detail

getNumber

public int getNumber()

isUnknownAccount

public boolean isUnknownAccount()
Use these rather than worry about which number...

isTooLate

public boolean isTooLate()

isFailed

public boolean isFailed()

isNoFunds

public boolean isNoFunds()

isLater

public boolean isLater()

isAlready

public boolean isAlready()

isClosed

public boolean isClosed()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable