| 533 | ExceptionInfo(const char * f, int l) : file(f), line(l) {} |
| 534 | |
| 535 | std::string Where() const |
| 536 | { |
| 537 | if( !file ) |
| 538 | return "unknown"; |
| 539 | |
| 540 | std::ostringstream result; |
| 541 | result << file << ":" << line; |
| 542 | |
| 543 | return result.str(); |
| 544 | } |
| 545 | }; |
| 546 | |
| 547 |