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 logged work - 17/Oct/11 1:09 AM
        • Time Spent:
          2m
           
          <No comment>
        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 ]
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        7d 52m 1 Arjen Poutsma 17/Oct/11 1:07 AM
        In Progress In Progress Resolved Resolved
        2m 49s 1 Arjen Poutsma 17/Oct/11 1:10 AM
        Resolved Resolved Closed Closed
        200d 5h 53m 1 Arjen Poutsma 04/May/12 7:03 AM

          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