提交 40b55573 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 b2c62e65
...@@ -398,11 +398,13 @@ public class FileLock { ...@@ -398,11 +398,13 @@ public class FileLock {
private SQLException error(String reason) { private SQLException error(String reason) {
JdbcSQLException ex = Message.getSQLException(ErrorCode.DATABASE_ALREADY_OPEN_1, reason); JdbcSQLException ex = Message.getSQLException(ErrorCode.DATABASE_ALREADY_OPEN_1, reason);
String payload = null; String payload = null;
try { if (fileName != null) {
Properties prop = load(); try {
payload = prop.getProperty("server") + "/" + prop.getProperty("id"); Properties prop = load();
} catch (SQLException e) { payload = prop.getProperty("server") + "/" + prop.getProperty("id");
// ignore } catch (SQLException e) {
// ignore
}
} }
ex.setPayload(payload); ex.setPayload(payload);
return ex; return ex;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论