Author: bayard
Date: Thu Jul 28 22:21:38 2011
New Revision: 1152021

URL: http://svn.apache.org/viewvc?rev=1152021&view=rev
Log:
Changing exception message per Sebb's comment iN LANG-686

Modified:
    
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java?rev=1152021&r1=1152020&r2=1152021&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
 Thu Jul 28 22:21:38 2011
@@ -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;


Reply via email to