adding a try catch around a large method call
<p>I have a web service that's pretty simple; something like this:</p>

<pre><code>public class LeadService : System.Web.Services.WebService {

    [WebMethod(EnableSession = true)]
    public string MyService(string TheIncomingData)
    {
             string ReturnData = "";

             MyClass TheClass = new MyClass();
             ReturnData = TheClass.MyMethod(TheIncomingData);

             return ReturnData;
        }
}
</code></pre>

<p>You might have guessed it, the MyMethod is a pretty long-running method with some room for errors (for now). If I add a try/catch statement around the method call like this:</p>

<pre><code>try { ReturnData = TheClass.MyMethod(TheIncomingData); }
catch { ReturnData = ""; }
</code></pre>

<p>Is this going to make the service and the app exception-proof? And, is using a try statement like this going to have any performance impact even if no error occurs?</p>

<p>Thanks for your advice.</p>
