From: Kai Moritz Date: Mon, 4 Mar 2024 13:32:14 +0000 (+0100) Subject: refactor: Refined channel-states, introduced `ChannelState` -- MOVE X-Git-Tag: rebase--2024-03-05--09-07~16 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=d1b23e70844b95e70c70eefc45fa8b13e2b92612;p=demos%2Fkafka%2Fchat refactor: Refined channel-states, introduced `ChannelState` -- MOVE * Renamed and moved `LoadInProgressException` ** Moved exception into implementation-specific package ** Renamed exception to `ChannelNotReadyException` --- 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 index 8a0a81f9..00000000 --- a/src/main/java/de/juplo/kafka/chat/backend/domain/exceptions/LoadInProgressException.java +++ /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 index 00000000..8a0a81f9 --- /dev/null +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChannelNotReadyException.java @@ -0,0 +1,10 @@ +package de.juplo.kafka.chat.backend.domain.exceptions; + + +public class LoadInProgressException extends IllegalStateException +{ + public LoadInProgressException() + { + super("Load in progress..."); + } +}