Gideon Guillen
2006-08-01 18:07:08 UTC
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.
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
***@gmail.com
Gideon N. Guillen
***@gmail.com