X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collect.cpp;fp=collect.cpp;h=2d1f6e38573d10288f4192c1208f19c919673821;hb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;hp=ac4aa4dc431a6fff7709546ccca9e0a34736fda3;hpb=37e0d78135e32b5aa58ca163f4d416716c78b67f;p=mothur.git diff --git a/collect.cpp b/collect.cpp index ac4aa4d..2d1f6e3 100644 --- a/collect.cpp +++ b/collect.cpp @@ -52,14 +52,9 @@ void Collect::getCurve(int increment = 1){ delete ccd; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the Collect class Function getCurve. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); + errorOut(e, "Collect", "getCurve"); + exit(1); } - catch(...) { - cout << "An unknown error has occurred in the Collect class function getCurve. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } - } /***********************************************************************/ @@ -164,14 +159,9 @@ try { } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the Collect class Function getSharedCurve. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); + errorOut(e, "Collect", "getSharedCurve"); + exit(1); } - catch(...) { - cout << "An unknown error has occurred in the Collect class function getSharedCurve. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } - } /**************************************************************************************/