One Exception handler for all exceptions of a CLASS

前端 未结 6 1634
甜味超标
甜味超标 2021-02-04 01:05

I have a class with number of methods and want to have one exception handler for them all. There are so many of these methods and they have different parameters, that it would b

6条回答
  •  野性不改
    2021-02-04 01:27

    This sounds like a problem with your design. Can you elaborate on exactly what exceptions you are trying to catch and why and we can try and help with that.

提交回复
热议问题