id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8312,Test definitions for throw_exception_test.cpp swapped?,greg.julus@…,Emil Dotchevski,"I was attempting to learn how to extract the file, function, & line number from a caught exception for logging and noticed the following in boost_throw_exception_test found in throw_exception_test.cpp: {{{ char const * const * file=boost::get_error_info(x); char const * const * function=boost::get_error_info(x); }}} It appears the file is retrieving the function name and vice versa. I didn't check to see if there were other instances of this occurrance. I'm novice so I may be very wrong. FYI: I was in this area because I couldn't figure out from the documentation how to access the values placed by BOOST_THROW_EXCEPTION. I finally figured out the following based upon what I found in your test file: {{{ if( char const * const * file=boost::get_error_info(e) ) cout << ""The File where it happened:"" << *file << ""\n""; if( char const * const * function=boost::get_error_info(e) ) cout << ""The Function where it happened:"" << *function << ""\n""; if( int const * line=boost::get_error_info(e) ) cout << ""The Line where it happened:"" << *line << ""\n""; }}} -g",Bugs,closed,To Be Determined,exception,Boost 1.52.0,Problem,fixed,,