
I want to throw an exception at next catch, (I attached image)
Anybody know how to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t, and trying to do so suggests that you’ve got too much logic in your
catchblocks, or that you should refactor your method to only do one thing. If you can’t redesign it, you’ll have to nest yourtryblocks:On the other hand, as of C# 6, there are exception filters so you can check a condition before actually catching the exception: