如果伺服器傳回未在 WSDL 中定義的 SOAP 錯誤,則 Web Services Client for C++ 會擲出 OtherFaultException。 如果 Web Services Client for C++ 方法在用戶端失敗, Web Services Client for C++ 會擲出其他 AxisExceptions。
如果伺服器傳回的使用者 SOAP 錯誤並未定義在 WSDL 中,則 Web Services Client for C++ 會擲回 OtherFaultException。 產生的使用者 SOAP 錯誤和 OtherFaultException 都會延伸 SoapFaultException。所以, 用戶端應用程式可能會捕捉到特定的 SOAP 錯誤或任何 SoapFaultException。SoapFaultException 會延伸 AxisException。
當 Web Services Client for C++ 方法在用戶端失敗時, Web Services Client for C++ 也會擲出其他 AxisExceptions 。例如,當伺服器的端點 URL 無效時。AxisException 會延伸異常狀況, 所以全部的 Web Services Client for C++ 異常狀況都具備方法,可讓用戶端取得異常狀況資訊。