Status

Enumeration

Visual Basic

Public Enum Status

C#

public enum Status

Purpose

These enumerated constants define the status codes within exceptions.

Status

Description

InitFailure

Cannot create the network transport.

InvalidTransport

The transport has been destroyed, or is otherwise unusable.

InvalidArgument

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

NotInitialized

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

ArgumentsConflict

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.

ServiceNotFound

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

NetworkNotFound

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

DaemonNotFound

Transport creation failed; cannot match the daemon port number.

NoMemory

The method could not allocate dynamic storage.

InvalidSubject

The method received a subject name with incorrect syntax.

DaemonNotConnected

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

VersionMismatch

The library, header files and Rendezvous daemon are incompatible.

SubjectCollision

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

VCNotConnected

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

NotPermitted

1. The program attempted an illegal operation.

2. Cannot create ledger file.

InvalidName

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

InvalidType

1. The field type is not registered.

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

InvalidSize

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

InvalidCount

The explicit field count does not match its explicit type.

NotFound

Could not find the specified field in the message.

IDInUse

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

IDConflict

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).

ConversionFailed

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

ReservedHandler

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

EncoderFailed

The program’s datatype encoder failed.

DecoderFailed

The program’s datatype decoder failed.

InvalidMessage

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

InvalidField

The program supplied an invalid field as an argument.

InvalidInstance

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

CorruptMessage

The method detected a corrupt message argument.

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.

Interrupted

Interrupted operation.

InvalidDispatchable

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

InvalidDispatcher

The dispatcher thread is invalid or has been destroyed.

InvalidEvent

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

InvalidCallback

The method received null instead of a callback method delegate.

InvalidQueue

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

InvalidQueueGroup

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

InvalidTimeInterval

The method received a negative timer interval.

SocketLimit

The operation failed because of an operating system socket limitation.

OSError

Environment.Open encountered an operating system error.

InsufficientBuffer

The call received a buffer argument that is too small to contain the result.

EOF

End of file.

InvalidFile

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

2. SDContext.SetUserCertificateWithKey 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.

FileNotFound

Rendezvous software could not find the specified file.

IOFailed

Cannot write to ledger file.

NotFileOwner

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

For example, ledger files are associated with correspondent names.

IPMOnly

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

See Also

RendezvousException