摘要: 今天在WCS的测试中邂逅了这个从未接触的exception迫使我对它做了一些分析首先:“不断的将被选中的字符串加到某一字符串末尾,当长度超过一定量时提示:java.lang.StringIndexOutOfBoundsException:Stringindexoutofrange:10”并不能说明String有长度限制JavaAPI指出StringIndexOutOfBoundsException异常ThrownbyStringmethodstoindicatethatanindexiseithernegativeorgreaterthanthesizeofthestring.Forsomem 阅读全文
posted @ 2009-10-23 08:44 java程序代码 阅读(326) 评论(0) 推荐(0) 编辑