LoadInProgressException - MOVE
authorKai Moritz <kai@juplo.de>
Tue, 29 Aug 2023 18:33:15 +0000 (20:33 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 27 Jan 2024 14:16:22 +0000 (15:16 +0100)
src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/LoadInProgressException.java [deleted file]

diff --git a/src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java b/src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java
new file mode 100644 (file)
index 0000000..099dbb8
--- /dev/null
@@ -0,0 +1,10 @@
+package de.juplo.kafka.chat.backend.persistence.kafka;
+
+
+public class LoadInProgressException extends IllegalStateException
+{
+  public LoadInProgressException()
+  {
+    super("Load in progress...");
+  }
+}
diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/LoadInProgressException.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/LoadInProgressException.java
deleted file mode 100644 (file)
index 83e06bd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package de.juplo.kafka.chat.backend.persistence.kafka;
-
-import de.juplo.kafka.chat.backend.domain.ShardNotOwnedException;
-
-
-public class LoadInProgressException extends ShardNotOwnedException
-{
-  public LoadInProgressException()
-  {
-    this(-1);
-  }
-
-  public LoadInProgressException(int shard)
-  {
-    super(shard);
-  }
-}