import jalview.util.MessageManager;
import java.io.File;
+import java.io.IOException;
import java.io.InputStream;
import java.util.List;
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);
}