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

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

    XMLWordPrintable

    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()

        Attachments

          Activity

            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