X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=shannon.cpp;h=b38d7fc272e6e338af026b02db8a80219c06d62d;hb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1;hp=0d54b7b138d4cf861318126840f4208c2e842bca;hpb=e4827e0945cbda536064e5a345996b2a7dfcbb81;p=mothur.git diff --git a/shannon.cpp b/shannon.cpp index 0d54b7b..b38d7fc 100644 --- a/shannon.cpp +++ b/shannon.cpp @@ -52,13 +52,9 @@ EstOutput Shannon::getValues(SAbundVector* rank){ return data; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the Shannon class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + m->errorOut(e, "Shannon", "getValues"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the Shannon class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } } /***********************************************************************/