From 39d77aa9ab8723fca798b700494414fea3a8144c Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 29 Aug 2023 20:33:15 +0200 Subject: [PATCH] LoadInProgressException - MOVE --- .../backend/domain/LoadInProgressException.java | 10 ++++++++++ .../kafka/LoadInProgressException.java | 17 ----------------- 2 files changed, 10 insertions(+), 17 deletions(-) create mode 100644 src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java delete mode 100644 src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/LoadInProgressException.java 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); - } -} -- 2.20.1