Exception Handling Question

后端 未结 8 684
谎友^
谎友^ 2020-12-13 02:30

I have a question regarding exception handling. Consider following Java code snippet.

        try{
            //code
        }catch(SubSubException subsube         


        
8条回答
  •  情书的邮戳
    2020-12-13 03:03

    Second case is perfectly valid java code, but it has larger Cyclomatic complexity without adding any extra value.

提交回复
热议问题