22 Exception::Exception(
char const*
const file,
unsigned int const line, std::string
const& what ) {
24 std::stringstream stream;
25 stream << file <<
" - line " << line << std::endl <<
'\t' <<
CollapseWhitespace( what );
26 m_what = stream.str();
30 Exception::Exception(
char const*
const file,
unsigned int const line, std::string
const& what,
char const*
const message ) {
32 std::stringstream stream;
34 m_what = stream.str();
38 Exception::~Exception() throw() {
44 return m_what.c_str();