Changing exception message per Sebb's comment iN LANG-686

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1152021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-07-28 22:21:38 +00:00
parent a7fe1f5018
commit d94ef57853
1 changed files with 2 additions and 2 deletions

View File

@ -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;