Tag: 低级错误预览模式: 普通 | 列表
08-01
15

低级错误:java.lang.NumberFormatException: For input string: "4;"

资源文件:
引用内容 引用内容
#调出文章数0-4,共5篇
js.count=4;

代码:
引用内容 引用内容
/**
* 取得资源文件
*/
java.util.ResourceBundle bundle = ResourceBundle.getBundle("ApplicationResourcesJS");//读取资源文件
int count=Integer.parseInt(bundle.getString("js.count"));

查看更多...

Tags: 低级错误 NumberFormat Exception

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2529