mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-0 corrected DBContentHandler exception encapsulation
This commit is contained in:
parent
43bbc10ad9
commit
0380709881
4 changed files with 13 additions and 13 deletions
|
@ -86,7 +86,7 @@ public class DBTraceContentHandler extends DBWithUserDataContentHandler<DBTrace>
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -136,7 +136,7 @@ public class DBTraceContentHandler extends DBWithUserDataContentHandler<DBTrace>
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -191,7 +191,7 @@ public class DBTraceContentHandler extends DBWithUserDataContentHandler<DBTrace>
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -288,7 +288,7 @@ public class DBTraceContentHandler extends DBWithUserDataContentHandler<DBTrace>
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (trace != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue