summaryrefslogtreecommitdiff
path: root/src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-09-21 15:38:24 +0200
committerElias Haugsbakk <[email protected]>2026-09-21 15:38:24 +0200
commit025cee42eaf5f8b1c409e1a3a8fe3df8dac8d262 (patch)
tree98674234b46b1c7c745a1ec01d21ab10276d938f /src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java
parentef85091be57ecef84e97799d56b3d9c4600ca1c2 (diff)
refactor exception handling to differentiate internal exceptions from compilation failerdev
Diffstat (limited to 'src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java')
-rw-r--r--src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java b/src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java
new file mode 100644
index 0000000..3a043fd
--- /dev/null
+++ b/src/main/java/no/eliashaugsbakk/kompilator/InternalCompilerException.java
@@ -0,0 +1,11 @@
+package no.eliashaugsbakk.kompilator;
+
+public class InternalCompilerException extends RuntimeException {
+ public InternalCompilerException(String message) {
+ super(message);
+ }
+
+ public InternalCompilerException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}