Results 1 to 3 of 3

Thread: Have IceUtil::Exception inherit from std::exception?

  1. #1
    bpolivka is offline Registered User
    Name: Brett Polivka
    Organization: Magnetar Capital
    Project: Financial Core Services
    Join Date
    Feb 2006
    Posts
    15

    Have IceUtil::Exception inherit from std::exception?

    Hi,

    I believe I remember seeing a post a while back about this, but I couldn't seem to find it.

    Would it be possible to have IceUtil::Exception inherit from std::exception?

    In many cases, we are only interested in catching the exception for logging/tracing purposes. It would be nice if we didn't have to worry about handling two different types of exceptions and could just worry about catching std::exception.

    Thanks,
    Brett
    Brett Polivka
    Core Financial Systems
    Magnetar Capital LLC

  2. #2
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397
    Hi,

    In the next Ice release all C++ Ice exceptions will inherit from std::exception.

    Regards,
    Dwayne

  3. #3
    bpolivka is offline Registered User
    Name: Brett Polivka
    Organization: Magnetar Capital
    Project: Financial Core Services
    Join Date
    Feb 2006
    Posts
    15
    Excellent! You guys rock!

    Thanks again,
    Brett
    Brett Polivka
    Core Financial Systems
    Magnetar Capital LLC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. user exception causes unmarshalling exception
    By Stuart Brodsky in forum Help Center
    Replies: 9
    Last Post: 04-29-2009, 02:21 PM
  2. session using std::wstring instead of std::string
    By Andrew in forum Help Center
    Replies: 2
    Last Post: 01-23-2008, 08:06 AM
  3. local exception / C++
    By daniell in forum Bug Reports
    Replies: 7
    Last Post: 11-08-2005, 12:56 PM
  4. NoObjectFactory Exception
    By yesiamvinu in forum Help Center
    Replies: 3
    Last Post: 10-28-2005, 05:30 PM
  5. recommand IceUtil::Exception commpatible STL !
    By damingyipai in forum Comments
    Replies: 1
    Last Post: 02-03-2005, 07:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •