9 const std::string& _message,
10 const std::string& _file_name,
11 const uint32_t _line_number,
12 const std::string& _function_name ) :
15 line_number_( _line_number ),
25 const boost::format& _message,
26 const std::string& _file_name,
27 const uint32_t _line_number,
28 const std::string& _function_name ) :
34 message_stack_( _rhs.message_stack_ ),
35 line_number_( _rhs.line_number_ ),
36 function_name_( _rhs.function_name_ ),
37 file_name_( _rhs.file_name_ ),
38 stacktrace_( _rhs.stacktrace_ ) {
61 std::stringstream what_ss;
63 what_ss <<
"iRODS Exception:"
68 <<
"\n message:" <<
"\n";
72 what_ss <<
" " <<
entry <<
"\n";
75 what_ss <<
"stack trace:" <<
"\n"
76 <<
"--------------" <<
"\n"
79 what_ = what_ss.str();
85 std::stringstream what_ss;
87 what_ss << rodsErrorName( static_cast<int>(
code_),
NULL ) <<
": ";
91 what_ss <<
entry <<
"\n";
94 what_ = what_ss.str();