diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 66becb8c2..f6bbe2157 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -4028,8 +4028,8 @@ public class StringUtils { // if recursing, this shouldn't be less than 0 if (timeToLive < 0) { - throw new IllegalStateException("Output of one loop is the input of another; " + - "protecting from potential StackOverflowError"); + throw new IllegalStateException("Aborting to protect against StackOverflowError - " + + "output of one loop is the input of another"); } int searchLength = searchList.length;