From: Kai Moritz Date: Fri, 1 Sep 2023 17:11:44 +0000 (+0200) Subject: WIP X-Git-Tag: rebase--2023-09-02--10-22~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3b7f25fcfce37023059bfd48db60566533d6a6ac;p=demos%2Fkafka%2Fchat WIP --- 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 index d87e76d3..45925026 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java +++ b/src/main/java/de/juplo/kafka/chat/backend/domain/LoadInProgressException.java @@ -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()); } }