From 3b7f25fcfce37023059bfd48db60566533d6a6ac Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 1 Sep 2023 19:11:44 +0200 Subject: [PATCH] WIP --- .../kafka/chat/backend/domain/LoadInProgressException.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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()); } } -- 2.20.1