Though catch(…) statement allows catching exception not associated with any class, it leads to ambiguous condition as there is no way to have any error message with it.

 

Does Boost provide any means to be able to print stack trace when exception is caught ?

 

In spite of many deficiencies with Java, it let’s you access stack trace using printStackTrace() and trace out as what happened and how it happened.

 

This is where C++ std::exception is lacking support and one has to look for such improvements from Boost community.