You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pr...@apache.org on 2005/03/04 14:32:49 UTC

cvs commit: ws-axis/c/src/engine/client Call.cpp

prestonf    2005/03/04 05:32:49

  Modified:    c/src/engine/client Call.cpp
  Log:
  Hi All,
  I think this will complete what needs to be done for AXISCPP-492.
  
  Regards,
  Fred Preston.
  
  Revision  Changes    Path
  1.100     +4 -3      ws-axis/c/src/engine/client/Call.cpp
  
  Index: Call.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Call.cpp,v
  retrieving revision 1.99
  retrieving revision 1.100
  diff -u -r1.99 -r1.100
  --- Call.cpp	28 Feb 2005 15:31:37 -0000	1.99
  +++ Call.cpp	4 Mar 2005 13:32:49 -0000	1.100
  @@ -442,11 +442,12 @@
   
           m_nStatus = m_pTransport->openConnection();
       }
  -    catch(AxisException& e)
  +    catch( AxisException& e)
       {
  -        e = e;
  +		char *	pszError = new char[strlen( e.what()) + 1];
  +		strcpy( pszError, e.what());
   
  -        throw;
  +		throw AxisGenException( e.getExceptionCode(), const_cast<char*>(pszError));
       }
       catch(...)
       {