Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

JException (jrclient API)

Class JException

All Implemented Interfaces:
Serializable
public final class JException
extends Exception
Represents an exception thrown by all JClient classes

See Also:
Serialized Form


Field Summary

Modifier and Type
Field and Description
protected static String[]
errComm 
protected static String[]
errEncryption 
protected static String[]
errLicensing 
protected static String[]
errOS 
protected static String[]
errParm 
protected static String[]
errServer 
protected static String[]
errXML 
static int
JE_AUTH_OPEN_TIMEOUT 
static int
JE_AUTHENTICATION_FAILURE 
static int
JE_BAD_USERNAME_OR_PASSWORD 
static int
JE_CAPTURE_EXHAUSTED 
static int
JE_CAPTURE_STORE_FAILURE 
static int
JE_CLEAR_FILE_FAILED 
static int
JE_COMMON_ATTACH_FAILURE 
static int
JE_COMMON_VAR_TYPE_MISMATCH 
static int
JE_CONN_ALREADY_ACTIVE 
static int
JE_CONN_CLOSED_BY_HOST 
static int
JE_CONN_FAILURE 
static int
JE_CONN_NOT_ACTIVE 
static int
JE_ERROR_PARSING_CONFIG 
static int
JE_FILE_NOT_OPENED 
static int
JE_FILE_OR_INDEX_INACCESSIBLE 
static int
JE_INDEX_NOT_OPENED 
static int
JE_INVALID_ATTRIBUTE_NUMBER 
static int
JE_INVALID_DATA_BLOCK_LENGTH 
static int
JE_INVALID_ENC_OPTION_COMBINATION 
static int
JE_INVALID_FIELD_NUMBER 
static int
JE_INVALID_FUNCTION_CALL 
static int
JE_INVALID_HANDLE 
static int
JE_INVALID_KEY_LENGTH 
static int
JE_INVALID_NUMBER_OF_PARMS 
static int
JE_INVALID_PARM 
static int
JE_INVALID_PARM_FORMAT 
static int
JE_INVALID_TIMEOUT 
static int
JE_KEY_AGREEMENT_FAILED 
static int
JE_LIC_EXPIRED 
static int
JE_LIC_LIMIT_EXCEEDED 
static int
JE_LIST_EXHAUSTED 
static int
JE_LIST_NOT_FOUND 
static int
JE_LIST_SAVE_FAILURE 
static int
JE_NOT_IMPLEMENTED 
static int
JE_OBJECT_ALREADY_RELEASED 
static int
JE_OS_FORK_FAILURE 
static int
JE_OS_SHMEM_ATTACH_FAILURE 
static int
JE_OS_SHMEM_CREATE_FAILURE 
static int
JE_OS_SHMEM_NOT_ATTACHED 
static int
JE_OS_THREAD_CREATE_FAILURE 
static int
JE_OUT_OF_MEMORY 
static int
JE_PARM_ENC_REQUIRED 
static int
JE_PARM_TOO_LONG 
static int
JE_PARSE_INIT_FAILURE 
static int
JE_PARSE_INVALID_BYTE_ORDER 
static int
JE_PARSE_INVALID_ENCODING 
static int
JE_PARSE_INVALID_REPLY_FORMAT 
static int
JE_PARSE_INVALID_REQUEST_FORMAT 
static int
JE_PARSE_INVALID_REQUEST_TYPE 
static int
JE_PARSE_MISSING_REQUEST_TYPE 
static int
JE_READ_FAILURE 
static int
JE_RECORD_ALREADY_LOCKED 
static int
JE_RECORD_NOT_FOUND 
static int
JE_RECORD_NOT_LOCKED 
static int
JE_REQUEST_DENIED 
static int
JE_REQUEST_INVALID 
static int
JE_REQUEST_TIMED_OUT 
static int
JE_SELECT_FAILED 
static int
JE_SERVER_DATA_ENC_REQUIRED 
static int
JE_SERVER_ENC_NOT_SUPPORTED 
static int
JE_SERVER_INIT_FAILURE 
static int
JE_SERVER_PASSWORD_ENC_REQUIRED 
static int
JE_SOCKET_ACCEPT_FAILURE 
static int
JE_SOCKET_CREATE_FAILURE 
static int
JE_SOCKET_DUP_FAILURE 
static int
JE_SOCKET_LISTEN_FAILURE 
static int
JE_SOCKET_NONBLOCK_FAILURE 
static int
JE_SOCKET_READ_FAILURE 
static int
JE_SOCKET_WAIT_FAILURE 
static int
JE_SOCKET_WRITE_FAILURE 
static int
JE_SUB_NOT_FOUND 
static int
JE_TRANSACTION_NOT_ABORTED 
static int
JE_TRANSACTION_NOT_FINISHED 
static int
JE_VALUE_UNAVAILABLE 
static int
JE_WRITE_FAILURE 



Constructor Summary

Modifier
Constructor and Description
protected 
JException(int code, String message)



Method Summary

Modifier and Type
Method and Description
int
getCode()
String
getMessage()
protected static void
throwWithCode(int code)


Methods inherited from class java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString


Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait


Field Detail

JE_INVALID_HANDLE

public static final int JE_INVALID_HANDLE



JE_INVALID_NUMBER_OF_PARMS

public static final int JE_INVALID_NUMBER_OF_PARMS



JE_INVALID_FUNCTION_CALL

public static final int JE_INVALID_FUNCTION_CALL


JE_OUT_OF_MEMORY

public static final int JE_OUT_OF_MEMORY


JE_INVALID_PARM_FORMAT

public static final int JE_INVALID_PARM_FORMAT


JE_LIST_NOT_FOUND

public static final int JE_LIST_NOT_FOUND


JE_TRANSACTION_NOT_FINISHED

public static final int JE_TRANSACTION_NOT_FINISHED


JE_TRANSACTION_NOT_ABORTED

public static final int JE_TRANSACTION_NOT_ABORTED


JE_FILE_NOT_OPENED

public static final int JE_FILE_NOT_OPENED

JE_CLEAR_FILE_FAILED

public static final int JE_CLEAR_FILE_FAILED


JE_RECORD_NOT_FOUND

public static final int JE_RECORD_NOT_FOUND


JE_RECORD_NOT_LOCKED

public static final int JE_RECORD_NOT_LOCKED


JE_RECORD_ALREADY_LOCKED

public static final int JE_RECORD_ALREADY_LOCKED


JE_READ_FAILURE

public static final int JE_READ_FAILURE


JE_INVALID_ATTRIBUTE_NUMBER

public static final int JE_INVALID_ATTRIBUTE_NUMBER



JE_WRITE_FAILURE

public static final int JE_WRITE_FAILURE



JE_SELECT_FAILED

public static final int JE_SELECT_FAILED


JE_LIST_EXHAUSTED

public static final int JE_LIST_EXHAUSTED


JE_LIST_SAVE_FAILURE

public static final int JE_LIST_SAVE_FAILURE


JE_INDEX_NOT_OPENED

public static final int JE_INDEX_NOT_OPENED


JE_FILE_OR_INDEX_INACCESSIBLE

public static final int JE_FILE_OR_INDEX_INACCESSIBLE


JE_NOT_IMPLEMENTED

public static final int JE_NOT_IMPLEMENTED


JE_SUB_NOT_FOUND

public static final int JE_SUB_NOT_FOUND


JE_REQUEST_INVALID

public static final int JE_REQUEST_INVALID


JE_INVALID_FIELD_NUMBER

public static final int JE_INVALID_FIELD_NUMBER


JE_CONN_ALREADY_ACTIVE

public static final int JE_CONN_ALREADY_ACTIVE


JE_CONN_NOT_ACTIVE

public static final int JE_CONN_NOT_ACTIVE


JE_INVALID_TIMEOUT

public static final int JE_INVALID_TIMEOUT


JE_REQUEST_TIMED_OUT

public static final int JE_REQUEST_TIMED_OUT


JE_CONN_CLOSED_BY_HOST

public static final int JE_CONN_CLOSED_BY_HOST


JE_CONN_FAILURE

public static final int JE_CONN_FAILURE


JE_OBJECT_ALREADY_RELEASED

public static final int JE_OBJECT_ALREADY_RELEASED


JE_VALUE_UNAVAILABLE

public static final int JE_VALUE_UNAVAILABLE


JE_BAD_USERNAME_OR_PASSWORD

public static final int JE_BAD_USERNAME_OR_PASSWORD


JE_AUTHENTICATION_FAILURE

public static final int JE_AUTHENTICATION_FAILURE


JE_INVALID_PARM

public static final int JE_INVALID_PARM


JE_SERVER_INIT_FAILURE

public static final int JE_SERVER_INIT_FAILURE


JE_CAPTURE_EXHAUSTED

public static final int JE_CAPTURE_EXHAUSTED


JE_CAPTURE_STORE_FAILURE

public static final int JE_CAPTURE_STORE_FAILURE


JE_COMMON_VAR_TYPE_MISMATCH

public static final int JE_COMMON_VAR_TYPE_MISMATCH


JE_COMMON_ATTACH_FAILURE

public static final int JE_COMMON_ATTACH_FAILURE


JE_SOCKET_CREATE_FAILURE

public static final int JE_SOCKET_CREATE_FAILURE


JE_SOCKET_NONBLOCK_FAILURE

public static final int JE_SOCKET_NONBLOCK_FAILURE


JE_SOCKET_ACCEPT_FAILURE

public static final int JE_SOCKET_ACCEPT_FAILURE


JE_SOCKET_DUP_FAILURE

public static final int JE_SOCKET_DUP_FAILURE


JE_SOCKET_LISTEN_FAILURE

public static final int JE_SOCKET_LISTEN_FAILURE


JE_SOCKET_WAIT_FAILURE

public static final int JE_SOCKET_WAIT_FAILURE


JE_SOCKET_READ_FAILURE

public static final int JE_SOCKET_READ_FAILURE


JE_SOCKET_WRITE_FAILURE

public static final int JE_SOCKET_WRITE_FAILURE


JE_OS_SHMEM_NOT_ATTACHED

public static final int JE_OS_SHMEM_NOT_ATTACHED


JE_OS_SHMEM_CREATE_FAILURE

public static final int JE_OS_SHMEM_CREATE_FAILURE


JE_OS_SHMEM_ATTACH_FAILURE

public static final int JE_OS_SHMEM_ATTACH_FAILURE


JE_OS_FORK_FAILURE

public static final int JE_OS_FORK_FAILURE


JE_OS_THREAD_CREATE_FAILURE

public static final int JE_OS_THREAD_CREATE_FAILURE


JE_PARSE_INVALID_REQUEST_TYPE

public static final int JE_PARSE_INVALID_REQUEST_TYPE


JE_PARSE_INVALID_REQUEST_FORMAT

public static final int JE_PARSE_INVALID_REQUEST_FORMAT


JE_PARSE_MISSING_REQUEST_TYPE

public static final int JE_PARSE_MISSING_REQUEST_TYPE


JE_PARSE_INVALID_ENCODING

public static final int JE_PARSE_INVALID_ENCODING


JE_PARSE_INIT_FAILURE

public static final int JE_PARSE_INIT_FAILURE


JE_PARSE_INVALID_BYTE_ORDER

public static final int JE_PARSE_INVALID_BYTE_ORDER


JE_PARSE_INVALID_REPLY_FORMAT

public static final int JE_PARSE_INVALID_REPLY_FORMAT


JE_ERROR_PARSING_CONFIG

public static final int JE_ERROR_PARSING_CONFIG


JE_REQUEST_DENIED

public static final int JE_REQUEST_DENIED


JE_PARM_TOO_LONG

public static final int JE_PARM_TOO_LONG


JE_INVALID_KEY_LENGTH

public static final int JE_INVALID_KEY_LENGTH


JE_KEY_AGREEMENT_FAILED

public static final int JE_KEY_AGREEMENT_FAILED


JE_INVALID_DATA_BLOCK_LENGTH

public static final int JE_INVALID_DATA_BLOCK_LENGTH


JE_INVALID_ENC_OPTION_COMBINATION

public static final int JE_INVALID_ENC_OPTION_COMBINATION


JE_SERVER_PASSWORD_ENC_REQUIRED

public static final int JE_SERVER_PASSWORD_ENC_REQUIRED


JE_SERVER_DATA_ENC_REQUIRED

public static final int JE_SERVER_DATA_ENC_REQUIRED


JE_AUTH_OPEN_TIMEOUT

public static final int JE_AUTH_OPEN_TIMEOUT



JE_PARM_ENC_REQUIRED

public static final int JE_PARM_ENC_REQUIRED


JE_SERVER_ENC_NOT_SUPPORTED

public static final int JE_SERVER_ENC_NOT_SUPPORTED


JE_LIC_LIMIT_EXCEEDED

public static final int JE_LIC_LIMIT_EXCEEDED


JE_LIC_EXPIRED

public static final int JE_LIC_EXPIRED


errServer

protected static String[] errServer



errComm

protected static String[] errComm



errOS

protected static String[] errOS



errXML

protected static String[] errXML



errParm

protected static String[] errParm



errEncryption

protected static String[] errEncryption



errLicensing

protected static String[] errLicensing



Constructor Detail

JException

protected JException(int code, String message)




Method Detail

getCode

public int getCode()



getMessage

public String getMessage()

Overrides: getMessage in class Throwable



throwWithCode

protected static void throwWithCode(int code) 

Throws: JException



Was this article helpful?