System exceptions

System exception identifiers are predefined and listed in Table 5-2.

Table 5-2: System exception identifiers

Identifier

Notes

Jaguar/ClientException

An error occurred internally to the ActiveX proxy. For example, you may have called a method that uses an unsupported parameter type.

CORBA/BAD_CONTEXT

Raised when a client invokes the operation but the passed context does not contain the context values required by the operation.

CORBA/BAD_INV_ORDER

Indicates that the caller has invoked operations in the wrong order; for example, you cannot make an ORB-related call without first initializing the ORB.

CORBA/BAD_PARAM

A passed parameter is out of range or considered illegal, such as a null values or null pointer.

CORBA/BAD_OPERATION

Indicates that an object reference denotes an existing object, but the object does not support the operation that was invoked.

CORBA/BAD_TYPECODE

The datatype for a variable could not be determined or processed.

CORBA/COMM_FAILURE

A network error occurred. When creating a connection, this usually indicates that the server is down or you have specified the wrong listener address. When calling a method, the error may indicate a transient network fault; you can retry the method.

BA/DATA_CONVERSION

A code set conversion problem occurred.

CORBA/FREE_MEM

JaguarORB failed in an attempt to free dynamic memory; for example, because of heap corruption or memory segments being locked.

CORBA/IMP_LIMIT

Indicates that an implementation limit has exceeded in the ORB runtime; for example, a parameter’s size may have exceeded the allowed maximum.

CORBA/INTERNAL

Indicates an internal failure in the JaguarORB, for example, if JaguarORB has detected corruption of its internal data structures.

CORBA/INTF_REPOS

Component information or properties could not be read from the repository.

CORBA/INV_FLAG

An invalid flag was passed to an operation.

CORBA/INV_IDENT

An RMI/IDL (remote method invocation/interface definition language) repository ID could not be mapped to a Java class.

CORBA/INV_OBJREF

An object reference is invalid.

CORBA/INVALID_TRANSACTION

A problem occurred while attempting to process a transaction.

CORBA/INITIALIZE

JaguarORB has encountered a failure during its initialization, such as failing to acquire networking resources or detecting a configuration error.

CORBA/MARSHAL

A request or reply from the network is structurally invalid. This error typically indicates an error in either the client-side or server-side runtime.

CORBA/NO_IMPLEMENT

The component does not implement the method that you called.

CORBA/NO_MEMORY

The ORB runtime has run out of memory.

CORBA/NO_RESOURCES

JaguarORB has encountered some general resource limitation; for example, the runtime may have reached the maximum permissible number of open connections.

CORBA/NO_RESPONSE

This exception is raised if a client attempts to retrieve the result of a deferred synchronous call, but the response for the request is not yet available.

CORBA/NO_PERMISSION

The user cannot access the server or a specified component.

CORBA/OBJ_ADAPTER

Indicates an administrative mismatch; for example, a server may have made an attempt to register itself using a name that is already in use, or is unknown to the repository.

CORBA/OBJECT_NOT_EXIST

The object does not exist. This can happen if:

  • The component installed incorrectly on the server. For example, the component class or skeleton class cannot be loaded.

  • The object represents a stateful component and your reference to it has expired. Check the value of the component’s property, and, if needed, code your client to create another instance in response to this error.

CORBA/PERSIST_STORE

A persistent storage failure; for example, failure to establish a database connection or corruption of a database.

CORBA/TRANSACTION_REQUIRED

The method you attempted to call must be called in the context of an open transaction.

CORBA/TRANSACTION_ROLLEDBACK

The method you called rolled back its transaction, or if you have started a client-managed transaction, the transaction timed out.

CORBA/TRANSIENT

An attempt to establish a connection fails, for example, because the server or the implementation repository is down.

CORBA/UNKNOWN

An operation implementation throws a non-CORBA exception or raises a user exception that does not appear in operation’s raises exception.

See the CORBA specification for general descriptions of CORBA system exceptions.

See the EAServer Programmer’s Guide for examples of exception handling code.