webfunds.sox
Class Errors
java.lang.Object
|
+--webfunds.sox.Errors
- public class Errors
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
errorString(int errno)
The non OO way of handling errors - get the string. |
static boolean |
isSOXError(int errno)
Is this in our recognised block?
Not a complete test, there are some gaps. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ERROR_UNKNOWN
public static final int ERROR_UNKNOWN
ERROR_GOOD
public static final int ERROR_GOOD
ERROR_REGISTERED_ALREADY
public static final int ERROR_REGISTERED_ALREADY
- Lower Layers of SOX
ERROR_UNKNOWN_REQUEST
public static final int ERROR_UNKNOWN_REQUEST
ERROR_MESSAGE_NOT_SIGNED
public static final int ERROR_MESSAGE_NOT_SIGNED
ERROR_INVALID_KEY
public static final int ERROR_INVALID_KEY
ERROR_COMM_FAILURE
public static final int ERROR_COMM_FAILURE
ERROR_NOT_GOOD_KHID
public static final int ERROR_NOT_GOOD_KHID
ERROR_NO_FUNDS
public static final int ERROR_NO_FUNDS
- 10-19 are transaction errors.
Passed up as an exception number.
ERROR_CANCELLED
public static final int ERROR_CANCELLED
ERROR_DEP_CANCELLED
public static final int ERROR_DEP_CANCELLED
ERROR_TOO_OLD
public static final int ERROR_TOO_OLD
ERROR_TOO_YOUNG
public static final int ERROR_TOO_YOUNG
ERROR_UNKNOWN_TARGET
public static final int ERROR_UNKNOWN_TARGET
ERROR_UNKNOWN_SOURCE
public static final int ERROR_UNKNOWN_SOURCE
ERROR_ILLEGAL_DEBIT
public static final int ERROR_ILLEGAL_DEBIT
ERROR_ALREADY
public static final int ERROR_ALREADY
ERROR_DEP_ALREADY
public static final int ERROR_DEP_ALREADY
ERROR_NOT_PERMITTED
public static final int ERROR_NOT_PERMITTED
ERROR_NOT_SUPPORTED
public static final int ERROR_NOT_SUPPORTED
ERROR_NOT_A_PAYMENT
public static final int ERROR_NOT_A_PAYMENT
- 30-49 are bad arguments within a deposit or payment.
ERROR_PAYMENT_NOT_SIGNED
public static final int ERROR_PAYMENT_NOT_SIGNED
ERROR_NOT_AN_ITEM
public static final int ERROR_NOT_AN_ITEM
ERROR_NOT_A_QUANTITY
public static final int ERROR_NOT_A_QUANTITY
ERROR_NOT_A_PID
public static final int ERROR_NOT_A_PID
ERROR_NOT_A_DID
public static final int ERROR_NOT_A_DID
ERROR_NOT_TARGET_KHID
public static final int ERROR_NOT_TARGET_KHID
ERROR_NOT_SOURCE_KHID
public static final int ERROR_NOT_SOURCE_KHID
ERROR_ILLEGAL_PID
public static final int ERROR_ILLEGAL_PID
ERROR_ILLEGAL_DID
public static final int ERROR_ILLEGAL_DID
ERROR_NOT_ENUF
public static final int ERROR_NOT_ENUF
ERROR_NOT_PROTO
public static final int ERROR_NOT_PROTO
ERROR_NOT_TOKEN
public static final int ERROR_NOT_TOKEN
ERROR_UNAVAILABLE
public static final int ERROR_UNAVAILABLE
ERROR_NOT_MAIL_SIG
public static final int ERROR_NOT_MAIL_SIG
- 50-59 are Mail errors.
ERROR_NO_SUCH_KHID
public static final int ERROR_NO_SUCH_KHID
- Old AccountsClient.pm errors. Still seem to be in use.
ERROR_NOT_A_KHID
public static final int ERROR_NOT_A_KHID
ERROR_LATER
public static final int ERROR_LATER
- These two are in use:
ERROR_BACKEND
public static final int ERROR_BACKEND
ERROR_ILLEGAL_CHARS
public static final int ERROR_ILLEGAL_CHARS
- 70-79 are Nym errors.
HIGHEST_ERROR_IN_STRINGS
public static final int HIGHEST_ERROR_IN_STRINGS
Errors
public Errors()
isSOXError
public static final boolean isSOXError(int errno)
- Is this in our recognised block?
Not a complete test, there are some gaps.
errorString
public static final java.lang.String errorString(int errno)
- The non OO way of handling errors - get the string.
Maybe we should have an exception for each one.