| 32 | using namespace Control; |
| 33 | |
| 34 | struct SipParseError : public std::exception { |
| 35 | SipParseError() { LOG(DEBUG) << "SipParseError"; } |
| 36 | virtual const char *what() const throw() { |
| 37 | return "SipParseError"; |
| 38 | } |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | // endpos is the index of one char past the end of the string, eg, of the trailing nul. |