Skip to content

Commit

Permalink
Add private constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Nov 1, 2024
1 parent fbebd07 commit e6e324e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public class ExceptionUtils {
public static final String SKIP_TRACE_MARKER = "...";
public static final String LINE_DELIMITER = "\n";

private ExceptionUtils() {
throw new IllegalStateException("Static only class");
}

/***
* Get stack trace of the throwable excluding the stack trace of the base throwable.
*
Expand Down

0 comments on commit e6e324e

Please sign in to comment.