[omniORB] Printing Corba exception
Renzo Tomaselli
renzo.tomaselli@tecnotp.it
Fri Jul 5 08:26:01 2002
Lionel,
a simple yet standard way is to push the exception into an Any, then get
the id of its TypeCode. This always works fine.
Renzo Tomaselli
----- Original Message -----
From: "Lionel Gilet" <lgilet@san-jose.tt.slb.com>
To: "OmniOrb List" <omniorb-list@realvnc.com>
Sent: giovedì 4 luglio 2002 23:31
Subject: [omniORB] Printing Corba exception
> Hi,
>
> A quick question. I am using omniORB3.
>
> I was surprized to not find any output method to print a text
> description of a CORBA::Exception. There is no << operator or const
> char* () methods or anything close to that. I looked at the CORBA specs
> and I did not find anything on that subject either.
> So is there a standard way to get a text description associated with a
> CORBA::Exception (whether it is a SystemException or a UserException)?
>
> Thank you
>
> Lionel Gilet
>
> Schlumberger / NPtest
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@realvnc.com
> http://www.realvnc.com/mailman/listinfo/omniorb-list
>