From b8a32556e8c3204d70c47ee97b70e30f9448eeca Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Tue, 30 Jul 2024 13:28:05 +0200 Subject: [PATCH] chore(quality): [#841] remove obsolete method --- .../org/eclipse/tractusx/irs/component/Tombstone.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java index 01a464eab..3b8a01e47 100644 --- a/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java +++ b/irs-models/src/main/java/org/eclipse/tractusx/irs/component/Tombstone.java @@ -133,16 +133,6 @@ private static String getRootErrorMessages(final Throwable throwable) { return ExceptionUtils.getRootCauseMessage(throwable); } - private static ProcessingError withProcessingError(final ProcessStep processStep, final int retryCount, - final String exception) { - return ProcessingError.builder() - .withProcessStep(processStep) - .withRetryCounter(retryCount) - .withLastAttempt(ZonedDateTime.now(ZoneOffset.UTC)) - .withErrorDetail(exception) - .build(); - } - private static boolean hasSuppressedExceptions(final Throwable exception) { return exception.getSuppressed().length > 0; }