Should unchecked exceptions be caught and dealt with?
问题 I have been reading many posts about exceptions lately and I have a question whether unchecked exceptions should be caught. I have read that if you want your application to recover from an error you use checked exceptions. However if you can't deal with the checked exception you either wrap it into another checked exception so you can pass it to another layer; for instance you wrap an SqlException , or you throw an unchecked exception. However, should you catch unchecked exceptions? Are