what does it mean when one says allow exception to propagate upwards to the client ??
How does it work?
what does it mean when one says allow exception to propagate upwards to the
Share
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.
‘Client’ being what ever code is calling the method in question where the exception is encountered. You can handle it in the method, or if you don’t handle it, the caller will get that exception. If it does not handle it, it keeps going up the stack of method calls until it reaches Main() and nothing has handled it (or some equivalent), causing the unhandled exception handler to step in.
“The Client” then would be whatever mechanism is in place to display a ‘friendly’ error to the user, whether that’s a web page or winform, etc.