Developing Component Software with CORBA > 4 Writing and Compiling IDL > 4.3 Mapping IDL to Common Lisp


4.3.5 Mapping for exceptions

The IDL exception refusal maps onto the Common Lisp class BankingDemo:account/refusal . Its member, reason string; , maps onto a slot reason of type string .

Note that BankingDemo:account/refusal is a subclass of CORBA:userexception and, by inheritance, of Common Lisp condition . This means that CORBA user exceptions can be raised on the server, and handled in the client, using the standard Common Lisp condition mechanism.


Developing Component Software with CORBA - 22 Dec 2009