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:
parent
a7fe1f5018
commit
d94ef57853
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue