axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilhem Tardy <gravs...@yahoo.com>
Subject how to avoid a crash when exception is throw?
Date Sun, 22 Jan 2006 02:07:51 GMT
Hi,

I have wrapped calls to Axis C++ with the following:

  try  {
  }
  catch (AxisException& e) {
    Call* pCall = wsdl->getCall();
    if (pCall) {
      ISoapFault* pSoapFault = (ISoapFault*) pCall->checkFault("Fault", " ");
      if(pSoapFault) {
        const AxisChar* detail = pSoapFault->getSimpleFaultDetail();
      }
    }
  }
  catch (exception & e) {
  }
  catch (...) {
  }

This still crashes my app when some exception is thrown.
Did I do anything wrong?

Guilhem.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message