Skip to content

Commit

Permalink
chore(quality): [eclipse-tractusx#841] remove obsolete method
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Jul 30, 2024
1 parent aead813 commit b8a3255
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b8a3255

Please sign in to comment.