Can we throw exception from catch block ?
Answer Posted / nilesh
Yes. A throw statement can be used in the catch block to re-
throw the exception, which has been caught by the catch
statement. For example:
catch (InvalidCastException e)
{
throw (e); // Rethrowing exception e
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Web API supports which protocol?
Can I have a unique key as foreign key?
Differentiate between early binding and late binding.
What is difference between viewstate and session in asp net?
Which method do you use to enforce garbage collection in .net?
Can any body provide me the sample web application in asp.net
Can one dll file contains the compiled code of more than one .net language?
To wrap up a call to a Web service the standard used is..?
What is Pre-Render event in ASP.NET?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
Explain advantages of caching?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Differentiate between client-side and server-side validations in web pages.
Where is session cookies stored?
What is syntax code to send email from an asp.net application?