/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
{
dbgMsg("File load exception.");
ex.printStackTrace();
+ if (debug) {
+ try {
+ FileParse fp = new FileParse(file, protocol);
+ String ln = null;
+ dbgMsg(">>>Dumping contents of '"+file+"' "+"("+protocol+")");
+ while ((ln=fp.nextLine())!=null) {
+ dbgMsg(ln);
+ }
+ dbgMsg(">>>Dump finished.");
+ } catch (Exception e)
+ {
+ System.err.println("Exception when trying to dump the content of the file parameter.");
+ e.printStackTrace();
+ }
+ }
}
if ((al != null) && (al.getHeight() > 0))
{