]> git.donarmstrong.com Git - mothur.git/blobdiff - shannon.cpp
working on pam
[mothur.git] / shannon.cpp
index 0d54b7b138d4cf861318126840f4208c2e842bca..b38d7fc272e6e338af026b02db8a80219c06d62d 100644 (file)
@@ -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);
-       }       
 }
 
 /***********************************************************************/