|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rocketsoftware.mvapi.exceptions.MVErrors
public class MVErrors
List of error codes from the server
Field Summary | |
---|---|
static int |
ADI_NOT_FOUND
|
static int |
AQL_ERROR
|
static int |
CALL_RETURNED_ERROR
|
static int |
CALL_SUBNAME_NULL
|
static int |
COLUMN_NOT_FOUND
|
static int |
CONNECTION_ERROR
|
static int |
CONNPOOL_ALREADY_OPEN
|
static int |
CONNPOOL_INVALID_PARAMS
|
static int |
EXECUTE_CMD_NULL
|
static int |
EXECUTION_ABORTED
|
static int |
FILE_NOT_FOUND
|
static int |
INVALID_ACCOUNT_OR_PASSWORD
|
static int |
INVALID_USER_OR_PASSWORD
|
static int |
ITEM_BYTE_COUNT_ERROR
|
static int |
KEY_ERROR
|
static int |
KEY_INDEX_ERROR
|
static int |
MV_FILE_NOT_FOUND
MV database error codes |
static int |
MV_ITEM_NOT_FOUND
|
static int |
MVSP_ACCOUNT_MAINT_ERROR
|
static int |
MVSP_PROTOCOL_ERROR
|
static int |
NOT_CONNECTED
|
static int |
RESULT_SET_EMPTY
|
static int |
RESULT_SET_EOF
|
static int |
RESULT_SET_INVALID_ROW
|
static int |
ROOT_ERROR
|
static int |
ROOT_FILE_NULL
|
static java.lang.String |
S_ADI_NOT_FOUND
|
static java.lang.String |
S_AQL_ERROR
|
static java.lang.String |
S_EXECUTION_ABORTED
|
static java.lang.String |
S_FILE_NOT_FOUND
Errors returned from server |
static java.lang.String |
S_INVALID_ACCOUNT
|
static java.lang.String |
S_INVALID_USER
|
static java.lang.String |
S_SUB_FILE_NOT_FOUND
|
static java.lang.String |
S_SUB_NOT_BIN
|
static java.lang.String |
S_SUB_NOT_CAT
|
static java.lang.String |
S_SUB_NOT_IN_MD
|
static java.lang.String |
S_TOO_MANY_USERS
|
static java.lang.String |
S_USER_LIC_EXCEEDED
|
static int |
SERVER_CONNECT
|
static int |
SERVER_ERROR
|
static int |
SOCKET_IO_ERROR
|
static int |
STREAM_HEADER_READ_ERROR
|
static int |
STREAM_NOT_OPEN
|
static int |
STREAM_OPEN_ERROR
|
static int |
TOO_MANY_USERS
|
static int |
TRX_NOT_SUPPORTED
|
static int |
URL_PARSE_ERROR
List of error codes for reporting exceptions |
Constructor Summary | |
---|---|
MVErrors()
|
Method Summary | |
---|---|
static void |
raiseServerError(java.lang.String result,
java.lang.String buffer)
Raises an exception based on error response from the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int URL_PARSE_ERROR
public static final int NOT_CONNECTED
public static final int CALL_RETURNED_ERROR
public static final int RESULT_SET_INVALID_ROW
public static final int RESULT_SET_EOF
public static final int RESULT_SET_EMPTY
public static final int CONNECTION_ERROR
public static final int INVALID_ACCOUNT_OR_PASSWORD
public static final int SOCKET_IO_ERROR
public static final int MVSP_ACCOUNT_MAINT_ERROR
public static final int EXECUTE_CMD_NULL
public static final int CALL_SUBNAME_NULL
public static final int STREAM_OPEN_ERROR
public static final int STREAM_HEADER_READ_ERROR
public static final int ITEM_BYTE_COUNT_ERROR
public static final int MVSP_PROTOCOL_ERROR
public static final int STREAM_NOT_OPEN
public static final int INVALID_USER_OR_PASSWORD
public static final int FILE_NOT_FOUND
public static final int ADI_NOT_FOUND
public static final int EXECUTION_ABORTED
public static final int AQL_ERROR
public static final int COLUMN_NOT_FOUND
public static final int SERVER_ERROR
public static final int SERVER_CONNECT
public static final int TOO_MANY_USERS
public static final int ROOT_FILE_NULL
public static final int ROOT_ERROR
public static final int KEY_ERROR
public static final int KEY_INDEX_ERROR
public static final int TRX_NOT_SUPPORTED
public static final int CONNPOOL_ALREADY_OPEN
public static final int CONNPOOL_INVALID_PARAMS
public static final java.lang.String S_FILE_NOT_FOUND
public static final java.lang.String S_ADI_NOT_FOUND
public static final java.lang.String S_INVALID_USER
public static final java.lang.String S_INVALID_ACCOUNT
public static final java.lang.String S_EXECUTION_ABORTED
public static final java.lang.String S_AQL_ERROR
public static final java.lang.String S_SUB_NOT_IN_MD
public static final java.lang.String S_SUB_FILE_NOT_FOUND
public static final java.lang.String S_SUB_NOT_BIN
public static final java.lang.String S_SUB_NOT_CAT
public static final java.lang.String S_TOO_MANY_USERS
public static final int MV_FILE_NOT_FOUND
public static final int MV_ITEM_NOT_FOUND
public static final java.lang.String S_USER_LIC_EXCEEDED
Constructor Detail |
---|
public MVErrors()
Method Detail |
---|
public static void raiseServerError(java.lang.String result, java.lang.String buffer) throws MVException
result
- message from MVSP server .buffer
- other output from the server.
MVException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |