作者practical (practical)
看板java
标题Re: [问题] 建构式传入资料接收不到....@.@
时间Sat Dec 2 22:07:22 2006
※ 引述《Masashi0620 (ぎゃぼー ο(≧▽≦)ο )》之铭言:
: 可是我不懂耶...
: 我compile有过耶...@@
因为 ArrayIndexOutOfBoundsException 属於 Runtime Exception
跟 compile 没有关系, 能够compile不是代表没有错误
: 是因为我的catch叙述式写错 所以没有抓到这个错误吗???
: 感谢大大的指导...^^
: ※ 引述《qrtt1 (愚人)》之铭言:
: : http://www.rafb.net/paste/results/54ASeC87.html
: : 错在第659行
: : for( int i=0 ; i <= col ; i++)
: : 你把catch的部份换成
: : } catch (Exception e) {
: : e.printStackTrace();
: : } // catch
: : 就会看到
: : java.lang.ArrayIndexOutOfBoundsEx
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.133.199.167