title: Invoke operation 'myMethod' failed in RIA Services in Silverlight
body: <p>I have a server-side WCF RIA Service that is intentionally throwing an exception because the user entered an invalid value. This exception comes across the wire, however, I can't figure out how to catch it. I currently have the following code:</p>
  
  <pre><code>try
  {
    DomainContext.CalculateRequest(OnCalculateCompleted, null);
  }
  catch (Exception ex)
  {
    MessageBox.Show("here");
  }
  
  ...
  
  private void OnCalculateCompleted(InvokeOperation response)
  {
    try
    {
      if (response.HasError == false)
      {
        // Do stuff with result
      }
    }
    catch (Exception ex)
    {
      MessageBox.Show(ex.Message);
    }
  }
  </code></pre>
  
  <p>How do I handle exceptions thrown by a server-side operation on the client side? None of my catch statements are being triggered. Thank you!</p>