📜  我们可以从 catch 处理程序中重新抛出相同的异常吗?无论代码示例

📅  最后修改于: 2022-03-11 14:57:54.489000             🧑  作者: Mango

代码示例1
Yes we can rethrow the same exception from our catch handler. 
If we want to rethrow checked exception from a catch block we need to declare 
that exception.