parseBody();
}
-void ICAPModXact::callException(const TextException &e)
+void ICAPModXact::callException(const std::exception &e)
{
if (!canStartBypass || isRetriable) {
ICAPXaction::callException(e);
try {
debugs(93, 3, "bypassing ICAPModXact::" << inCall << " exception: " <<
- e.message << ' ' << status());
+ e.what() << ' ' << status());
bypassFailure();
}
- catch (const TextException &bypassE) {
+ catch (const std::exception &bypassE) {
ICAPXaction::callException(bypassE);
}
}
protected:
// bypasses exceptions if needed and possible
- virtual void callException(const TextException &e);
+ virtual void callException(const std::exception &e);
private:
virtual void start();
#define SQUID_EXIT_THROWING_CODE(status) \
status = true; \
} \
- catch (const TextException &e) { \
- debugs (11, 1, "Exception error:" << e.message); \
+ catch (const std::exception &e) { \
+ debugs (11, 1, "Exception error:" << e.what()); \
status = false; \
}