#include #include using namespace std; int main() { try { throw range_error( "ERROR"); } catch (logic_error& x) { cout << "A-" << x.what(); } catch (exception &x) { cout << "B-" << x.what(); } catch (...) { cout << "C"; } cout << "-DONE" << endl; return 0; }