[omniORB] Exceptions in interceptors

Gideon Guillen gideong at gmail.com
Tue Aug 1 21:07:10 BST 2006


Is it allowed to throw a custom exception from serverReceiveRequest interceptor?

For example, I have the following defined from an IDL:

     exception CustomException (
         string someMessage;
     );

And for example the interceptor:

     CORBA::Bool receiveRequestInterceptor(...) {
          ....

          CustomException ex;
          ex._raise();

          ...
     }

Is this allowed? I seem to be getting the following message on the server side:

omniORB: Assertion failed.  This indicates a bug in the application using
omniORB, or maybe in omniORB itself.
 file: GIOP_S.cc
 line: 432
 info: calldescriptor() != 0
omniORB: omniORB fatalException caught by a server thread at
GIOP_S.cc: line 432, message: calldescriptor() != 0


And the client seems to freeze because the server seems to be trapped
in an infnite loop on GIOP_S.cc:432.


-- 
Gideon N. Guillen
gideong at gmail.com



More information about the omniORB-list mailing list