Simplified example programs slightly

This commit is contained in:
Davis King 2012-10-21 22:08:48 -04:00
parent d00864cf54
commit 8319811880
6 changed files with 0 additions and 26 deletions

View File

@ -237,10 +237,6 @@ int main(int argc, char** argv)
// the default message.
cout << e.what() << endl;
}
catch (...)
{
cout << "Some error occurred" << endl;
}
}

View File

@ -289,10 +289,6 @@ int main()
cout << "\nexception thrown!" << endl;
cout << e.what() << endl;
}
catch (...)
{
cout << "Some error occurred" << endl;
}
}
// ----------------------------------------------------------------------------------------

View File

@ -251,10 +251,6 @@ int main()
cout << "\nexception thrown!" << endl;
cout << e.what() << endl;
}
catch (...)
{
cout << "Some error occurred" << endl;
}
}
// ----------------------------------------------------------------------------------------

View File

@ -61,9 +61,5 @@ int main()
{
cout << e.what() << endl;
}
catch (...)
{
cout << "Some error occurred" << endl;
}
}

View File

@ -88,10 +88,6 @@ int main()
{
cout << e.what() << endl;
}
catch (...)
{
cout << "Some error occurred" << endl;
}
}

View File

@ -296,12 +296,6 @@ int main(int argc, char** argv)
cout << "\nTry the -h option for more information." << endl;
return EXIT_FAILURE;
}
catch (...)
{
cout << "Some error occurred" << endl;
cout << "\nTry the -h option for more information." << endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}