Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-13-2006
bpolivka 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
Reply With Quote
  #2 (permalink)  
Old 12-13-2006
dwayne's Avatar
dwayne dwayne is online now
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 208
Hi,

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

Regards,
Dwayne
Reply With Quote
  #3 (permalink)  
Old 12-13-2006
bpolivka 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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
local exception / C++ daniell Bug Reports 7 11-08-2005 01:56 PM
NoEndpoint Exception yesiamvinu Help Center 4 10-27-2005 08:01 PM
recommand IceUtil::Exception commpatible STL ! damingyipai Comments 1 02-03-2005 08:50 AM
Exception messages panic Comments 0 10-19-2004 05:33 AM


All times are GMT -4. The time now is 01:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.