X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=slibshuff.cpp;fp=slibshuff.cpp;h=219c7094390ec43767806a0255e033774d31ab4d;hb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;hp=a9710ded9303b2f93373216bf2d22ba3c81c527c;hpb=37e0d78135e32b5aa58ca163f4d416716c78b67f;p=mothur.git diff --git a/slibshuff.cpp b/slibshuff.cpp index a9710de..219c709 100644 --- a/slibshuff.cpp +++ b/slibshuff.cpp @@ -45,14 +45,9 @@ vector > SLibshuff::evaluateAll(){ return dCXYValues; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the SLibshuff class Function evaluateAll. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + errorOut(e, "SLibshuff", "evaluateAll"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the SLibshuff class function evaluateAll. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } - } /***********************************************************************/ @@ -103,14 +98,9 @@ double SLibshuff::sCalculate(int x, int y){ return sum; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the SLibshuff class Function sCalculate. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + errorOut(e, "SLibshuff", "sCalculate"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the SLibshuff class function sCalculate. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } - } /***********************************************************************/