We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e796d2e commit bfa9a43Copy full SHA for bfa9a43
ojdbc-provider-common/src/main/java/oracle/jdbc/provider/util/WalletUtils.java
@@ -194,7 +194,11 @@ public static Credentials getCredentials(
194
wallet.setWalletArray(walletBytes, walletPassword);
195
}
196
catch (IOException ioException) {
197
- throw new IllegalStateException("Failed to open wallet", ioException);
+ String message = "Failed to open wallet. The wallet content may be corrupted or incomplete.";
198
+ if (walletPassword != null) {
199
+ message += " If a walletPassword is required and was provided, it may be incorrect.";
200
+ }
201
+ throw new IllegalStateException(message, ioException);
202
203
204
try {
0 commit comments