TibrvStatus

Class

Declaration

class com.tibco.tibrv.TibrvStatus

Purpose

Define status codes.

Status

Description

TibrvStatus.INIT_FAILURE

Cannot create the network transport.

TibrvStatus.INVALID_TRANSPORT

The transport has been destroyed, or is otherwise unusable.

TibrvStatus.INVALID_ARG

An argument is invalid. Check arguments other than messages, subject names, transports, events, queues and queue groups (which have separate status codes).

TibrvStatus.NOT_INITIALIZED

The method cannot run because the Rendezvous environment is not initialized (open).

TibrvStatus.ARG_CONFLICT

Two arguments that require a specific relation are in conflict. For example, the upper end of a numeric range is less than the lower end.

TibrvStatus.SERVICE_NOT_FOUND

Transport creation failed; cannot match the service name using getservbyname().

TibrvStatus.NETWORK_NOT_FOUND

Transport creation failed; cannot match the network name using getnetbyname().

TibrvStatus.DAEMON_NOT_FOUND

Transport creation failed; cannot match the daemon port number.

TibrvStatus.NO_MEMORY

The method could not allocate dynamic storage.

TibrvStatus.INVALID_SUBJECT

The method received a subject name with incorrect syntax.

TibrvStatus.DAEMON_NOT_CONNECTED

The Rendezvous daemon process (rvd) exited, or was never started. This status indicates that the program cannot start the daemon and connect to it.

TibrvStatus.VERSION_MISMATCH

The library, header files and Rendezvous daemon are incompatible.

TibrvStatus.SUBJECT_COLLISION

It is illegal to create two certified worker events on the same CM transport with overlapping subjects.

TibrvStatus.TIBRV_VC_NOT_CONNECTED

A virtual circuit terminal was once complete, but is now irreparably broken.

TibrvStatus.NOT_PERMITTED

1. The program attempted an illegal operation.

2. Cannot create ledger file.

TibrvStatus.INVALID_NAME

The field name is too long; see Field Name Length.

TibrvStatus.INVALID_TYPE

1. The field type is not registered.

2. Cannot update field to a type that differs from the existing field’s type.

TibrvStatus.INVALID_SIZE

The explicit size in the field does not match its explicit type.

TibrvStatus.INVALID_COUNT

The explicit field count does not match its explicit type.

TibrvStatus.INVALID_DATA

The program attempted to add data to a message field, but the datatype is not supported.

TibrvStatus.NOT_FOUND

Could not find the specified field in the message.

TibrvStatus.ID_IN_USE

Cannot add this field because its identifier is already present in the message; identifiers must be unique.

TibrvStatus.ID_CONFLICT

After field search by identifier fails, search by name succeeds, but the actual identifier in the field is non-null (so it does not match the identifier supplied).

TibrvStatus.CONVERSION_FAILED

Found the specified field, but could not convert it to the desired datatype.

TibrvStatus.RESERVED_HANDLER

The datatype handler number is reserved for Rendezvous internal datatype handlers.

TibrvStatus.ENCODER_FAILED

The program’s datatype encoder failed.

TibrvStatus.DECODER_FAILED

The program’s datatype decoder failed.

TibrvStatus.INVALID_MSG

The method received a message argument that is not a well-formed message.

TibrvStatus.INVALID_FIELD

The program supplied an invalid field as an argument.

TibrvStatus.INVALID_INSTANCE

The program supplied zero as the field instance number (the first instance is number 1).

TibrvStatus.CORRUPT_MSG

The method detected a corrupt message argument.

TibrvStatus.TIMEOUT

A timed dispatch call returned without dispatching an event.

A send request call returned without receiving a reply message.

A virtual circuit terminal is not yet ready for use.

TibrvStatus.INTR

Interrupted operation.

TibrvStatus.INVALID_DISPATCHABLE

The method received an event queue or queue group that has been destroyed, or is otherwise unusable.

TibrvStatus.INVALID_DISPATCHER

The dispatcher thread is invalid or has been destroyed.

TibrvStatus.INVALID_EVENT

The method received an event that has been destroyed, or is otherwise unusable.

TibrvStatus.INVALID_CALLBACK

The method received NULL instead of a callback method.

TibrvStatus.INVALID_QUEUE

The method received a queue that has been destroyed, or is otherwise unusable.

TibrvStatus.INVALID_QUEUE_GROUP

The method received a queue group that has been destroyed, or is otherwise unusable.

TibrvStatus.INVALID_TIME_INTERVAL

The method received a negative timer interval.

TibrvStatus.SOCKET_LIMIT

The operation failed because of an operating system socket limitation.

TibrvStatus.OS_ERROR

Tibrv.open() encountered an operating system error.

TibrvStatus.EOF

End of file.

TibrvStatus.INVALID_FILE

1. A certificate file or a ledger file is not recognizable as such.

2. TibrvSdContext.setUserCertWithKey() or TibrvSdContext.setUserCertWithKeyBin() could not complete a certificate file operation; this status code can indicate either disk I/O failure, or invalid certificate data, or an incorrect password.

TibrvStatus.FILE_NOT_FOUND

Rendezvous software could not find the specified file.

TibrvStatus.IO_FAILED

Cannot write to ledger file.

TibrvStatus.NOT_FILE_OWNER

The program cannot open the specified file because another program owns it.

For example, ledger files are associated with correspondent names.

TibrvStatus.TIBRV_IPM_ONLY

The call is not available because the IPM library is not linked (that is, the call is available only when the IPM library is linked).

Java-Specific Status Codes

TibrvStatus.ERROR

Default error when the error cannot be specified more precisely.

TibrvStatus.LIBRARY_NOT_FOUND

The JNI library is not present.

TibrvStatus.LIBRARY_NOT_LOADED

SecurityException while opening TIBCO Rendezvous machinery; the JNI library is required, but not properly loaded.

TibrvStatus.WRONG_JAVA_ARCHIVE

Attempted to open the native (JNI) implementation, but failed; opened the Java implementation instead.

TibrvStatus.INVALID_ENCODING

TibrvMsg.setStringEncoding() received an invalid encoding name.

See Also

TibrvException