[omniORB] Problem with exceptions: omniORB: WARNING

Pablo Alvarez palvarez at neuralarts.com
Wed Aug 13 13:11:18 BST 2003


Thanks, but I checked and I did declare the method with raises(PMError) in the 
idl. Here it is...

interface ProcessingModule_cb {
  void addInput(in ProcessingModule_cb pm) raises(PMError);
...
};

Any other ideas??

> Date: Tue, 12 Aug 2003 17:33:05 +0200
> From: Matej Kenda <matejkenda at volja.net>
> Subject: Re: [omniORB] Problem with exceptions: omniORB: WARNING
> To: palvarez at neuralarts.com
> Cc: omniORB <omniorb-list at omniorb-support.com>,
>         jkgoebel at neuralarts.com
> Message-ID: <1060702384.12839.43.camel at malina.hermes.si>
> Content-Type: text/plain; charset=UTF-8
>
> 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

-- 
Pablo Alvarez, Ph.D.
Software Engineer
Neural Arts, Inc.
21 Bay State Rd
Boston MA 02215

email: palvarez at neuralarts.com
phone: 617 867 0235
fax:   617 867 0240




More information about the omniORB-list mailing list