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

Comments

  • dwayne
    dwayne St. John's, Newfoundland
    Hi,

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

    Regards,
    Dwayne
  • Excellent! You guys rock!

    Thanks again,
    Brett