Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-737

EndpointInterceptorAdapter removes "throws Exception" from handleFault() method defined by EndpointInterceptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Core
    • Labels:
      None

      Description

      EndpointInterceptor defines handleFault as follows:

      boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception;

      EndpointInterceptorAdapter provides a default implementation like this (notice the missing "throws Exception"):

      public boolean handleFault(MessageContext messageContext, Object endpoint) {
      return true;
      }

      As a result subclasses of EndpointInterceptorAdapter can no longer throw exceptions from handleFault()

        Activity

        klr8 Erwin Vervaet created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 2.0.3 [ 12197 ]
        Assignee Arjen Poutsma [ arjen.poutsma ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        Worklog Id 28431 [ 28431 ]
        Time Spent 2m [ 120 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            klr8 Erwin Vervaet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - Not Specified
              Not Specified
              Logged:
              Time Spent - 2m
              2m