191 Star 1.6K Fork 454

Gitee Community / bullshit-codes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BadTry.java 400 Bytes
一键复制 编辑 原始数据 按行查看 历史
AIGC 提交于 2019-05-30 11:55 . 这个try catch可以再大一点~
// 背景:和B系统对接,对方需要调用我们A系统获取验证
//B系统代码大致如下
try{
//此处省略500行其他逻辑代码
//这里有一行调用A系统代码
}catch(Exception e){
return "A系统异常,请联系A系统管理员处理";
}
//没错,我就是A系统管理员,因此我发现了B系统里那省略的500行代码的3个异常~ 好伟大的我
1
https://gitee.com/gitee-community/bullshit-codes.git
git@gitee.com:gitee-community/bullshit-codes.git
gitee-community
bullshit-codes
bullshit-codes
master

搜索帮助