HTTPError::~HTTPError(void) throw() {
#ifdef DEBUG
- cerr << __FILE__ << ": destructor." << endl;
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": destructor." << endl;
#endif // DEBUG
}
HTTPError::HTTPError(unsigned code, const std::string& desc) throw():
runtime_error(desc), code(code) {
#ifdef DEBUG
- cerr << __FILE__ << ": code = " << code << " | desc = " << desc << endl;
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": code = " << code << " | desc = " << desc << endl;
#endif // DEBUG
}