I've caught an exception!! Now what?

后端 未结 16 942
逝去的感伤
逝去的感伤 2021-02-02 05:15

I\'ve started using try-catch blocks (a bit late, I know!), but now I\'m not sure what to do with the exception once I\'ve caught it. What should I do?



        
16条回答
  •  广开言路
    2021-02-02 05:39

    If you don't want to do anything with it, you can always just do try/finally rather then try/catch/finally

提交回复
热议问题