How to get the current exception without having passing the variable?

后端 未结 2 1848
死守一世寂寞
死守一世寂寞 2021-01-17 16:19

I am looking for a way to retrieve the current exception without having to pass it as a variable.

Suppose the following code

public void MakeItFail()         


        
2条回答
提交回复
热议问题