[omniORB] CORBA::Exception::_name() ?

Guy Trudel gtrudel@mediatrix.com
Tue Aug 6 14:10:02 2002


In omniOrb 2.8, I'm using NP_RepositoryId(). Does it exist in omniORB 3 ?

catch( CORBA::SystemException& exceptionSystem )
{
   printf( "%s \n", exceptionSystem.NP_RepositoryId() );
}


-----Original Message-----
From: Duncan Grisby [mailto:duncan@grisby.org]
Sent: Monday, August 05, 2002 9:27 AM
To: Mark Crosland
Cc: omniorb-list@realvnc.com
Subject: Re: [omniORB] CORBA::Exception::_name() ? 


On Saturday 3 August, Mark Crosland wrote:

> Is there a way to get information from a generic CORBA::Exception?
> Something like a char* info/message pointer?

A recent version of the C++ mapping added a _name() method for all
exceptions that does what you want. omniORB 4 supports it. omniORB 3
doesn't, I'm afraid.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
omniORB-list@realvnc.com
http://www.realvnc.com/mailman/listinfo/omniorb-list