From: hansonr Date: Sat, 23 Mar 2019 13:16:46 +0000 (-0500) Subject: Throwable, not IOException, in JSON in.close() X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a135e75affbb31508f4a66e9b86b7a8214706361;p=jalview.git Throwable, not IOException, in JSON in.close() --- diff --git a/src/jalview/javascript/json/JSON.java b/src/jalview/javascript/json/JSON.java index 6cb7cb5..a1de56e 100644 --- a/src/jalview/javascript/json/JSON.java +++ b/src/jalview/javascript/json/JSON.java @@ -170,7 +170,7 @@ public class JSON { data = null; try { super.close(); - } catch (IOException e) { + } catch (Throwable e) { // ignore, especially if we set $in to a string! } }