catch case when a parse() call breaks in an unexpected fashion...)
\r
return afile.getSeqsAsArray();\r
}\r
- catch (Exception e) {}\r
+ catch (Exception e) {\r
+ System.err.println("Failed to read alignment using the '"+format+"' reader.");\r
+ e.printStackTrace();\r
+ }\r
\r
return null;\r
}\r
afile.setSeqs(s);\r
return afile.print();\r
}\r
- catch (Exception e) {}\r
+ catch (Exception e) {\r
+ System.err.println("Failed to write alignment as a '"+format+"' file\n");\r
+ e.printStackTrace();\r
+ }\r
\r
return null;\r
}\r
}\r
reader.close();\r
}\r
- catch(Exception ex){ex.printStackTrace();}\r
+ catch(Exception ex){\r
+ System.err.println("File Identification failed!"); ex.printStackTrace();}\r
\r
return reply;\r
}\r