refactor: Refined channel-states, introduced `ChannelState` -- MOVE
authorKai Moritz <kai@juplo.de>
Mon, 4 Mar 2024 13:32:14 +0000 (14:32 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 4 Mar 2024 13:32:14 +0000 (14:32 +0100)
* Renamed and moved `LoadInProgressException`
** Moved exception into implementation-specific package
** Renamed exception to `ChannelNotReadyException`

src/main/java/de/juplo/kafka/chat/backend/domain/exceptions/LoadInProgressException.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChannelNotReadyException.java [new file with mode: 0644]

diff --git a/src/main/java/de/juplo/kafka/chat/backend/domain/exceptions/LoadInProgressException.java b/src/main/java/de/juplo/kafka/chat/backend/domain/exceptions/LoadInProgressException.java
deleted file mode 100644 (file)
index 8a0a81f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package de.juplo.kafka.chat.backend.domain.exceptions;
-
-
-public class LoadInProgressException extends IllegalStateException
-{
-  public LoadInProgressException()
-  {
-    super("Load in progress...");
-  }
-}
diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChannelNotReadyException.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChannelNotReadyException.java
new file mode 100644 (file)
index 0000000..8a0a81f
--- /dev/null
@@ -0,0 +1,10 @@
+package de.juplo.kafka.chat.backend.domain.exceptions;
+
+
+public class LoadInProgressException extends IllegalStateException
+{
+  public LoadInProgressException()
+  {
+    super("Load in progress...");
+  }
+}