Archived
This forum has been archived. Please start a new discussion on GitHub.
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
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
0
Comments
-
Hi,
In the next Ice release all C++ Ice exceptions will inherit from std::exception.
Regards,
Dwayne0 -
Excellent! You guys rock!
Thanks again,
Brett0