You are viewing a single comment's thread. Return to all comments →
try { int result = Server::compute(A, B); cout << result << endl; } catch (const std::bad_alloc& e) { cout << "Not enough memory" << endl; } catch (const std::exception& e) { cout << "Exception: " << e.what() << endl; } catch (...) { cout << "Other Exception" << endl; } } cout << Server::getLoad() << endl; return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
}