try {
throw 10; //Error Detected and "Thrown" to catch block
}
catch (char *excp) { //if error is thrown matches this block, exec
cout << "Caught " << excp;
}
catch (...) { //default case
cout << "Default Exception
";
}