You are viewing a single comment's thread. Return to all comments →
when I run the code, I have "Terminated due to timeout". I wrote code something like,
try { cout << Server::compute(A,B) << endl; } catch (bad_alloc& error) { cout << "Not enough memory" << endl; } catch (exception& error) { cout << "Exception: " << error.what() << endl; } catch (...) { cout << "Other Exception" << endl; }
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 →
when I run the code, I have "Terminated due to timeout". I wrote code something like,
try { cout << Server::compute(A,B) << endl; } catch (bad_alloc& error) { cout << "Not enough memory" << endl; } catch (exception& error) { cout << "Exception: " << error.what() << endl; } catch (...) { cout << "Other Exception" << endl; }