I have two classes, A
, and B
. They are declared thusly:
class A
{
public: void function() throw (exception);
};
class B
{
public: void function();
};
B::function
calls A::function
. Inside B::function
, I want to suppress the exception that A::function
sometimes throws, and continue execution afterwards. How do I do this?