title: Handle 403-error in Spring
body: <p>I want to handle 403 error to show normal message:</p>
  
  <pre><code>@ExceptionHandler(AccessDeniedException.class)
      @ResponseBody
      public String accessDeniedException () {
          return "my message";
      }
  </code></pre>
  
  <p>But AccessDeniedException not handle 403 error.</p>
  
  <p>Same not working follow:</p>
  
  <pre><code>@ResponseStatus(value = HttpStatus.FORBIDDEN)
      @ExceptionHandler(SecurityException.class)
      @ResponseBody
  </code></pre>