title: Exception is not raised
body: <p>I have a stored procedure that contains the following code:</p>
  
  <pre><code>IF @somevar IS NULL
  BEGIN
  RAISERROR (N'Station %d does not exist.', -- Message text.
         10, -- Severity,
         7, -- State,
         @id); 
  END
  </code></pre>
  
  <p>I want to catch the SqlException in C# code. But that exception is not raised. What am I doing wrong? </p>
  
  <p>Thanks.</p>