Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-534

HTTPTransport::flushOutput should be declared throw(AxisException)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Transport (axis3)
    • None

    Description

      HTTPTransport::flushOutput is declared throw(HTTPTransportException) however it has code that rethrows AxisExceptions and unrecognized exceptions. Doing this will abort the process since throwing exceptions that don't an exlict throw declaration are required to call the "unexpected()" exception handler which aborts the process.

      Either flushOutput should be modified to map non HTTPTransportException's to HTTPTransportExceptions or flushOutput should be redeclared to throw(AxisException) and modified to map (...) to an AxisException.

      Cheers,

      Tim

      Attachments

        Activity

          People

            whitlock Mark Whitlock
            tbartley@au1.ibm.com Tim Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: