]> git.donarmstrong.com Git - mothur.git/blobdiff - chao1.cpp
added logfile feature
[mothur.git] / chao1.cpp
index 7757fb0c776bd2e87916b025e8478a62d96d2257..b601b51f727490aeb3804f23b2aaa20ef1fad135 100644 (file)
--- a/chao1.cpp
+++ b/chao1.cpp
@@ -60,13 +60,9 @@ EstOutput Chao1::getValues(SAbundVector* rank){
                return data;
        }
        catch(exception& e) {
-               cout << "Standard Error: " << e.what() << " has occurred in the Chao1 class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+               errorOut(e, "Chao1", "getValues");
                exit(1);
        }
-       catch(...) {
-               cout << "An unknown error has occurred in the Chao1 class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
-               exit(1);
-       }       
 }
 
 /***********************************************************************/