提交 a28409bc authored 作者: Thomas Mueller's avatar Thomas Mueller

Java 6

上级 c951b1ab
......@@ -393,9 +393,7 @@ public class TestDeadlock extends TestBase {
SQLException e2 = lastException.getNextException();
if (e2 != null) {
// we have two exception, but there should only be one
SQLException e3 = new SQLException("Expected one exception, got multiple");
e3.initCause(e2);
throw e3;
throw new SQLException("Expected one exception, got multiple", e2);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论