Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9112

Support @MVC methods that can apply to any @Controller

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.1 GA
    • Fix Version/s: 3.2 M2
    • Component/s: Web
    • Labels:
      None

      Description

      This Spring 3.1 example (https://github.com/rstoyanchev/spring-mvc-31-demo/tree/master/src/main/java/org/springframework/samples/mvc31/exceptionhandler) gives an example how to declare "global" exception handlers. I think the ExtendedExceptionHandlerExceptionResolver example class should in some way brought into core mvc, so it would be easier to this.

        Issue Links

          Activity

          marceloverdijk Marcel Overdijk created issue -
          rstoya05-aop Rossen Stoyanchev made changes -
          Field Original Value New Value
          Affects Version/s 3.1 GA [ 12697 ]
          Fix Version/s 3.2 Backlog [ 11128 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Link This issue is related to SPR-9193 [ SPR-9193 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Assignee Rossen Stoyanchev [ rstoya05-aop ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Fix Version/s 3.2 Backlog [ 11128 ]
          Fix Version/s 3.2 M2 [ 12702 ]
          tmarshall Trevor Marshall made changes -
          Workflow SPR Workflow [ 52129 ] New SPR Workflow [ 56866 ]
          tmarshall Trevor Marshall made changes -
          Workflow New SPR Workflow [ 56866 ] SPR Workflow [ 66019 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Complete [ 8 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Resolution Complete [ 8 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          rstoya05-aop Rossen Stoyanchev made changes -
          Summary Out-of-the-box support for "global" exception resolvers in combination with @ResponseBody Support @MVC methods that can apply to any @Controller
          rstoya05-aop Rossen Stoyanchev made changes -
          Resolution Complete [ 8 ]
          Status Reopened [ 4 ] Resolved [ 5 ]

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              marceloverdijk Marcel Overdijk
              Last updater:
              Rossen Stoyanchev
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 10 weeks, 2 days ago