title: How to catch ParamConverter exceptions in Symfony2?
body: <p>Here is the exception I got:</p>
  
  <blockquote>
    <p>No result was found for query although at least one row was expected.</p>
  </blockquote>
  
  <p>I am basically getting that exception when a user id is not found in database.
  Here is what my route looks like:</p>
  
  <pre><code>localhost/../user/18
  </code></pre>
  
  <p>and the code in my controller:</p>
  
  <pre><code>public function showAction(User $user){
      // .. 
  }
  </code></pre>
  
  <p>I know I can use the kernel event exception to handle this, but is there an easier way to catch an exception generated by the ParamConverter?</p>