Skip to content

Commit 9c6a5b2

Browse files
authored
update database test (#1218)
* update * update acid
1 parent fadbdfe commit 9c6a5b2

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.devcontainer/devcontainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"redhat.vscode-xml",
2828
"vscjava.vscode-java-test",
2929
"GitHub.copilot",
30-
"GitHub.copilot-chat"
30+
"GitHub.copilot-chat",
31+
"janisdd.vscode-edit-csv"
3132
],
3233
"settings": {
3334
"java.configuration.updateBuildConfiguration": "interactive",

src/main/java/neqsim/thermo/component/Component.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ public void createComponent(String name, double moles, double molesInPhase, int
451451
}
452452
componentNumber = compIndex;
453453
} catch (Exception ex) {
454-
logger.error("error in comp");
454+
logger.error("error in adding new component. Check database arameters for component: "
455+
+ ex.getMessage());
456+
throw new RuntimeException(ex);
455457
}
456458

457459
srkacentricFactor = acentricFactor;

0 commit comments

Comments
 (0)