Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/error.h
- Timestamp:
- 03/02/07 19:04:28 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/error.h
r2175 r2386 127 127 128 128 ///\e 129 ErrorMessage(const char *m essage) throw() {129 ErrorMessage(const char *msg) throw() { 130 130 init(); 131 *this << m essage;132 } 133 134 ///\e 135 ErrorMessage(const std::string &m essage) throw() {131 *this << msg; 132 } 133 134 ///\e 135 ErrorMessage(const std::string &msg) throw() { 136 136 init(); 137 *this << m essage;137 *this << msg; 138 138 } 139 139 … … 267 267 268 268 ///\e 269 void line(int l ine) { _line = line; }270 ///\e 271 void message(const std::string& m essage) { _message.set(message); }272 ///\e 273 void file(const std::string &f ile) { _file.set(file); }269 void line(int ln) { _line = ln; } 270 ///\e 271 void message(const std::string& msg) { _message.set(msg); } 272 ///\e 273 void file(const std::string &fl) { _file.set(fl); } 274 274 275 275 ///\e … … 330 330 331 331 ///\e 332 explicit FileOpenError(const std::string& f ile)333 : _file(f ile) {}334 335 336 ///\e 337 void file(const std::string &f ile) { _file.set(file); }332 explicit FileOpenError(const std::string& fl) 333 : _file(fl) {} 334 335 336 ///\e 337 void file(const std::string &fl) { _file.set(fl); } 338 338 339 339 /// \brief Returns the filename. … … 383 383 384 384 ///\e 385 void message(const std::string& m essage) { _message.set(message); }386 ///\e 387 void file(const std::string &f ile) { _file.set(file); }385 void message(const std::string& msg) { _message.set(msg); } 386 ///\e 387 void file(const std::string &fl) { _file.set(fl); } 388 388 389 389 ///\e
Note: See TracChangeset
for help on using the changeset viewer.