title: Global error handler with Spring @ControllerAdvice doesn't work
body: <p>Anyone know why the following code failed to capture the exception?</p>
  
  <pre><code>package org.rythmengine.spring.web.servlet.view;
  
  import org.rythmengine.RythmEngine;
  import org.rythmengine.exception.RythmException;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.web.bind.annotation.ControllerAdvice;
  import org.springframework.web.bind.annotation.ExceptionHandler;
  import org.springframework.web.servlet.ModelAndView;
  
  @ControllerAdvice
  public class RythmExceptionHandler {
  
      RythmEngine engine;
  
      @Autowired
      public RythmExceptionHandler(RythmConfigurer conf) {
          this.engine = conf.getRythmEngine();
      }
  
      @ExceptionHandler(value = RythmException.class)
      public ModelAndView defaultErrorHandler(RythmException e) throws Exception {
          if (engine.mode().isProd()) {
              throw e;
          }
          ModelAndView mav = new ModelAndView();
          mav.addObject("exception", e);
          mav.setViewName("errors/500.html");
          return mav;
      }
  
  }
  </code></pre>