提交 0ccda3fb authored 作者: Thomas Mueller's avatar Thomas Mueller

Errors were ignored

上级 4ddb2248
...@@ -411,7 +411,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -411,7 +411,7 @@ public class ScriptCommand extends ScriptBase {
* @param id the lob id * @param id the lob id
* @return a stream for the combined data * @return a stream for the combined data
*/ */
public static InputStream combineBlob(Connection conn, int id) throws SQLException, IOException { public static InputStream combineBlob(Connection conn, int id) throws SQLException {
if (id < 0) { if (id < 0) {
return null; return null;
} }
...@@ -439,7 +439,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -439,7 +439,7 @@ public class ScriptCommand extends ScriptBase {
} }
current = null; current = null;
} catch (SQLException e) { } catch (SQLException e) {
Message.convertToIOException(e); throw Message.convertToIOException(e);
} }
} }
} }
...@@ -451,7 +451,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -451,7 +451,7 @@ public class ScriptCommand extends ScriptBase {
try { try {
rs.close(); rs.close();
} catch (SQLException e) { } catch (SQLException e) {
Message.convertToIOException(e); throw Message.convertToIOException(e);
} }
} }
}; };
...@@ -465,7 +465,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -465,7 +465,7 @@ public class ScriptCommand extends ScriptBase {
* @param id the lob id * @param id the lob id
* @return a reader for the combined data * @return a reader for the combined data
*/ */
public static Reader combineClob(Connection conn, int id) throws SQLException, IOException { public static Reader combineClob(Connection conn, int id) throws SQLException {
if (id < 0) { if (id < 0) {
return null; return null;
} }
...@@ -493,7 +493,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -493,7 +493,7 @@ public class ScriptCommand extends ScriptBase {
} }
current = null; current = null;
} catch (SQLException e) { } catch (SQLException e) {
Message.convertToIOException(e); throw Message.convertToIOException(e);
} }
} }
} }
...@@ -505,7 +505,7 @@ public class ScriptCommand extends ScriptBase { ...@@ -505,7 +505,7 @@ public class ScriptCommand extends ScriptBase {
try { try {
rs.close(); rs.close();
} catch (SQLException e) { } catch (SQLException e) {
Message.convertToIOException(e); throw Message.convertToIOException(e);
} }
} }
public int read(char[] buffer, int off, int len) throws IOException { public int read(char[] buffer, int off, int len) throws IOException {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论