Chapter 21. CORBA System Exceptions

CORBA provides a set of exceptions that can be raised in the course of any operation invocation without having to be declared in IDL. These are called system exceptions.

The standard system exceptions are defined by a set of categories that should be understood by any CORBA-compliant ORB.

System exceptions are transmitted across the network in a format defined by the General Inter-ORB Protocol (GIOP—see Chapter 14, “Internet Inter-ORB Protocol”). The content of a system exception is defined by the struct shown in Listing 21.1.

Listing 21.1. GIOP Format of a System Exception
//IDL // Valid for GIOP versions 1.0, 1.1 and 1.2 struct SystemExceptionReplyBody { string exception_id; unsigned long minor_code_value; ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.