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

--no commit message

--no commit message
上级 b2c62e65
...@@ -398,12 +398,14 @@ public class FileLock { ...@@ -398,12 +398,14 @@ 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;
if (fileName != null) {
try { try {
Properties prop = load(); Properties prop = load();
payload = prop.getProperty("server") + "/" + prop.getProperty("id"); payload = prop.getProperty("server") + "/" + prop.getProperty("id");
} catch (SQLException e) { } catch (SQLException e) {
// ignore // ignore
} }
}
ex.setPayload(payload); ex.setPayload(payload);
return ex; return ex;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论