X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=rarecalc.cpp;h=9145061255d415eb7a48749bdbaaa405b78425fd;hp=88c704adfdf01d575ad835e9e04805845b1cf6ff;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=20a2d0350a737a434c89f303662d64a8eeea7b05 diff --git a/rarecalc.cpp b/rarecalc.cpp index 88c704a..9145061 100644 --- a/rarecalc.cpp +++ b/rarecalc.cpp @@ -45,13 +45,9 @@ EstOutput RareCalc::getValues(int n){ return output; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the RareCalc class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + m->errorOut(e, "RareCalc", "getValues"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the RareCalc class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } } /***********************************************************************/