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