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

bpolivkabpolivka Brett PolivkaOrganization: Magnetar CapitalProject: Financial Core ServicesMember
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

  • dwaynedwayne St. John's, NewfoundlandDwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications EngineMember
    Hi,

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

    Regards,
    Dwayne
  • bpolivkabpolivka Brett PolivkaOrganization: Magnetar CapitalProject: Financial Core ServicesMember
    Excellent! You guys rock!

    Thanks again,
    Brett
Sign In or Register to comment.