提交 6c6d9eba authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 99fd3251
......@@ -1006,7 +1006,7 @@ public class JdbcConnection extends TraceObject implements Connection {
Class clazz = java.sql.Savepoint.class;
clazz.getClass();
//## Java 1.4 end ##
} catch (Exception e) {
} catch (NoClassDefFoundError e) {
throw Message.getSQLException(ErrorCode.UNSUPPORTED_JAVA_VERSION);
}
}
......
......@@ -44,7 +44,7 @@ implements Xid
formatId = Integer.parseInt(tokenizer.nextToken());
branchQualifier = ByteUtils.convertStringToBytes(tokenizer.nextToken());
globalTransactionId = ByteUtils.convertStringToBytes(tokenizer.nextToken());
} catch (Exception e) {
} catch (RuntimeException e) {
throw Message.getSQLException(ErrorCode.WRONG_XID_FORMAT_1, tid);
}
}
......
......@@ -331,7 +331,7 @@ public class DiskFile implements CacheWriter {
stage++;
freeUnusedPages();
init = true;
} catch (Exception e) {
} catch (Throwable e) {
database.getTrace(Trace.DATABASE).error(
"error initializing summary for " + fileName + " size:" + summary.length + " stage:" + stage, e);
// ignore - init is still false in this case
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论