title: @ExceptionHandler with parameters not working
body: <p>I am trying to capture all exceptions of some class in my Controller class. It works fine when 
  I define it like this:</p>
  
  <pre><code>@ExceptionHandler(NoSearchResultException.class)
      public String handleNoSearchResultException() {
          return "someView";
      }
  </code></pre>
  
  <p>But not if I add any parameters:</p>
  
  <pre><code>@ExceptionHandler(NoSearchResultException.class)
      public String handleNoSearchResultException(Exception e) {
          return "someView";
      }
  </code></pre>
  
  <p>What could possibly be happening? Also, I've read @ExceptionHandler does not support Model arguments, so how would I pass a parameter (like the error message for instance) to the view in order to offer a dynamic error page?</p>