axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Bartley (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-534) HTTPTransport::flushOutput should be declared throw(AxisException)
Date Fri, 11 Mar 2005 22:48:52 GMT
HTTPTransport::flushOutput should be declared throw(AxisException)
------------------------------------------------------------------

         Key: AXISCPP-534
         URL: http://issues.apache.org/jira/browse/AXISCPP-534
     Project: Axis-C++
        Type: Bug
  Components: Transport (axis3)  
    Reporter: Tim Bartley
    Priority: Minor


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message