Possible Duplicate:
how to use Java-style throws keyword in C#?
i have a function where an exception occurs
say for example
private void functionName() throws Exception
{
// some code that might throw an exception
}
thanks!
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.
No, because there are no checked exceptions in C#
If you are trying to document exceptions that are thrown, use the standard xml documentation