WIP
authorKai Moritz <kai@juplo.de>
Fri, 1 Sep 2023 17:11:44 +0000 (19:11 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 1 Sep 2023 17:11:44 +0000 (19:11 +0200)
src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java

index d87e76d..4592502 100644 (file)
@@ -1,10 +1,15 @@
 package de.juplo.kafka.chat.backend.domain;
 
 
+import java.util.concurrent.atomic.AtomicInteger;
+
+
 public class LoadInProgressException extends IllegalStateException
 {
+  static AtomicInteger counter = new AtomicInteger();
+
   public LoadInProgressException()
   {
-    super("Load in progress...");
+    super("Load in progress... " + counter.incrementAndGet());
   }
 }