![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常处理
weixin_42196085
这个作者很懒,什么都没留下…
展开
-
项目中 Integer.valueOf("")抛出了异常,所联想到的
1.Integer.valueOf(s),未对入参s做校验,抛出了 java.lang.NumberFormatException: For input string: “” 看了下Integer.valueOf(s)方法,此方法 throws NumberFormatException,但是idea没有提示需要捕获异常, 百思不得其解,后来看《java编程思想》第十二章–通过异常处理错误,这一...原创 2019-12-29 21:18:08 · 2665 阅读 · 1 评论 -
代码提交时遇到 git did not exit cleanly (exit code 1) 错误的解决
需要在原始仓库(中央) 执行 git config receive.denyCurrentBranch ignore原创 2018-07-30 23:52:42 · 2953 阅读 · 0 评论