From: Kai Moritz Date: Tue, 29 Aug 2023 18:33:15 +0000 (+0200) Subject: LoadInProgressException - MOVE X-Git-Tag: rebase--2024-01-27--15-10~43 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=2da48441c7219fa2442411827e46410a5ed03e71;p=demos%2Fkafka%2Fchat LoadInProgressException - MOVE --- 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 index 00000000..099dbb81 --- /dev/null +++ b/src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java @@ -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 index 83e06bd1..00000000 --- a/src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/LoadInProgressException.java +++ /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); - } -}