decoupled boost/exception/exception.hpp from boost/exception/detail/type_info.hpp

diagnostic_information improvements
documentation update

[SVN r48469]
This commit is contained in:
Emil Dotchevski
2008-08-30 02:57:12 +00:00
parent e1aba12621
commit 9dd2d64304
15 changed files with 3062 additions and 2888 deletions

View File

@ -41,7 +41,7 @@ error: //Base for all exception objects we throw.
char const *
what() const throw()
{
return boost::exception::diagnostic_information();
return "example_io error";
}
protected:
@ -170,7 +170,7 @@ dump_all_info( boost::exception const & x )
dump_file_info(x);
dump_clib_info(x);
std::cout << "\nOutput from diagnostic_information():\n";
std::cout << x.diagnostic_information();
std::cout << diagnostic_information(x);
}
int