git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge from develop
[jalview.git]
/
src
/
jalview
/
io
/
AppletFormatAdapter.java
diff --git
a/src/jalview/io/AppletFormatAdapter.java
b/src/jalview/io/AppletFormatAdapter.java
index
02de02e
..
7dc263b
100755
(executable)
--- a/
src/jalview/io/AppletFormatAdapter.java
+++ b/
src/jalview/io/AppletFormatAdapter.java
@@
-29,6
+29,7
@@
import jalview.datamodel.AlignmentView;
import jalview.util.MessageManager;
import java.io.File;
import jalview.util.MessageManager;
import java.io.File;
+import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.io.InputStream;
import java.util.List;
@@
-343,7
+344,10
@@
public class AppletFormatAdapter
ex.printStackTrace();
}
}
ex.printStackTrace();
}
}
-
+ if (format.equalsIgnoreCase("HTML"))
+ {
+ throw new IOException(e.getMessage());
+ }
// If we get to this stage, the format was not supported
throw new java.io.IOException(SUPPORTED_FORMATS);
}
// If we get to this stage, the format was not supported
throw new java.io.IOException(SUPPORTED_FORMATS);
}