GP-0 corrected DBContentHandler exception encapsulation

This commit is contained in:
ghidra1 2023-02-09 17:33:20 -05:00
parent 43bbc10ad9
commit 0380709881
4 changed files with 13 additions and 13 deletions

View file

@ -114,7 +114,7 @@ public class VTSessionContentHandler extends DBContentHandler<VTSessionDB> {
if (msg == null) {
msg = t.toString();
}
throw new IOException("Open failed: " + msg);
throw new IOException("Open failed: " + msg, t);
}
}
@ -184,7 +184,7 @@ public class VTSessionContentHandler extends DBContentHandler<VTSessionDB> {
if (msg == null) {
msg = t.toString();
}
throw new IOException("Open failed: " + msg);
throw new IOException("Open failed: " + msg, t);
}
}