[omniORB] Problem with exceptions: omniORB: WARNING

Matej Kenda matejkenda at volja.net
Tue Aug 12 18:33:05 BST 2003


On Tue, 2003-08-12 at 16:55, Pablo Alvarez wrote:
> For some reason, omniORB does not like it when I throw a user-defined 
> exception. Here is the situation:
> 
> idl code:
> exception PMError {
>   string description;
> };
> 
> (note no namespaces)
> 
> But when I throw a PMError in a method "addInput" in my server code (throw 
> PMError("foo")), I get the following message:

You have most probably forgotten to declare the interface method in the
IDL with the 'raises(PMError)' keyword.

Regards,

Matej

-- 
Matej Kenda, Lead Engineer
HERMES SoftLab (www.hermes-softlab.com)
Erjavčeva 2, 5000 Nova Gorica, Slovenia




More information about the omniORB-list mailing list