equal
deleted
inserted
replaced
300 |
300 |
301 ///\e |
301 ///\e |
302 virtual const char* what() const throw() { |
302 virtual const char* what() const throw() { |
303 try { |
303 try { |
304 std::ostringstream ostr; |
304 std::ostringstream ostr; |
|
305 ostr << exceptionName() << ": "; |
305 if (message()) ostr << message(); |
306 if (message()) ostr << message(); |
306 if( file() || line() != 0 ) { |
307 if( file() || line() != 0 ) { |
307 ostr << " ("; |
308 ostr << " ("; |
308 if( file() ) ostr << "in file '" << file() << "'"; |
309 if( file() ) ostr << "in file '" << file() << "'"; |
309 if( file() && line() != 0 ) ostr << " "; |
310 if( file() && line() != 0 ) ostr << " "; |