Skip to content

Ghidra is a software reverse engineering (SRE) framework

Added missing LoadException constructors

Andrew Strelskyac8bab0573d8
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/LoadException.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/LoadException.java
index 1c4cf83cb2..fa803cf82b 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/LoadException.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/LoadException.java
@@ -37,4 +37,23 @@ public class LoadException extends IOException {
public LoadException(String message) {
super(message);
}
+
+ /**
+ * Create a new {@link LoadException} with the given message and cause
+ *
+ * @param message The exception message
+ * @param cause The exception cause
+ */
+ public LoadException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Create a new {@link LoadException} with the given cause
+ *
+ * @param cause The exception cause
+ */
+ public LoadException(Throwable cause) {
+ super(cause);
+ }
}