WebSphere Message Service Clients: Web Services Client for C++, Version 1.1 作業系統: Linux, Windows

異常狀況處理

本章提供許多範例, 以顯示如何在 Web 服務用戶端應用程式中實作異常狀況處理。

Web Services Client for C++ 使用異常狀況回報任何發生的錯誤。如果要捕捉這些異常狀況, 用戶端應用程式必須使用 try…catch 架構來包圍所有 Web Services Client for C++ 方法。

SOAP 錯誤會以異常狀況來表示; 它們會被當作 SoapFaultException 的子類別來擲回給用戶端應用程式。

下列 各節中的範例顯示 如何在用戶端應用程式中處理異常狀況。


Reference topic

使用條款 | 此頁的評等

「時間戳記」圖示前次更新: 28 Apr 2006
(C) Copyright IBM Corporation 2005. All Rights Reserved.
本資訊中心採用 Eclipse 技術。(http://www.eclipse.org)