Next Previous Up Top Contents Index

A.4 Mapping in more detail

A.4.19 User exception

The reader functions and initialization arguments for a condition generated by an IDL exception follow the convention for the mapping of IDL structs. For example:

module example {
  exception ex1 { string reason; };
};

; generated Lisp (defpackage :example) (define-condition example:ex1 (corba:userexception) ((reason :initarg :reason ...)))

; Usage example (error (example:ex1 :reason "Example of condition"))


Developing Component Software with CORBA - 22 Jan 1999

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker