|
|
| version 1.28, 2002/09/04 14:59:54 | version 1.29, 2002/09/17 09:30:07 |
|---|---|
| Line 85 public: | Line 85 public: |
| handlers) | handlers) |
| ); | ); |
| } catch(const Exception& e) { // query problem | } catch(const Exception& e) { // query problem |
| // give more specific source [were url] | if(strcmp(e.type(), "sql.connect")==0) { // if it is _throw exception, |
| throw Exception("sql.execute", | // give more specific source [were url] |
| &source, | throw Exception("sql.execute", |
| "%s", e.comment()); | &source, |
| "%s", e.comment()); | |
| } else | |
| /*re*/throw; | |
| } | } |
| } | } |