DbException e = DbException.get(ErrorCode.DATABASE_ALREADY_OPEN_1, reason);
if (fileName != null) {
try {
Properties prop = load();
String serverId = prop.getProperty("server") + "/" + prop.getProperty("id");
e = e.addSQL(serverId);
} catch (DbException e2) {
// ignore
}
}
return e;