mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +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
|
@ -102,7 +102,7 @@ public class DataTypeArchiveContentHandler extends DBContentHandler<DataTypeArch
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -157,7 +157,7 @@ public class DataTypeArchiveContentHandler extends DBContentHandler<DataTypeArch
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -221,7 +221,7 @@ public class DataTypeArchiveContentHandler extends DBContentHandler<DataTypeArch
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -314,7 +314,7 @@ public class DataTypeArchiveContentHandler extends DBContentHandler<DataTypeArch
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (dataTypeArchive != null) {
|
||||
|
|
|
@ -149,7 +149,7 @@ public class ProgramContentHandler extends DBWithUserDataContentHandler<ProgramD
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -208,7 +208,7 @@ public class ProgramContentHandler extends DBWithUserDataContentHandler<ProgramD
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (!success) {
|
||||
|
@ -306,7 +306,7 @@ public class ProgramContentHandler extends DBWithUserDataContentHandler<ProgramD
|
|||
if (msg == null) {
|
||||
msg = t.toString();
|
||||
}
|
||||
throw new IOException("Open failed: " + msg);
|
||||
throw new IOException("Open failed: " + msg, t);
|
||||
}
|
||||
finally {
|
||||
if (program != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue