WCF custom channel exception hierarchy
The exceptions types thrown by the custom channel are consistent with WCF and are typically a TimeoutException or CommunicationException (or a subclass of CommunicationException). Further details of the error condition, where available, are provided using linked or inner exceptions.
SOAP/JMS interface
The following exceptions are typical examples, and each layer in the architecture of the channel contributes an additional linked exception, for example CommunicationsException has a linked XMSException, which has a linked MQException:- System.serviceModel.CommunicationsExceptions
- IBM.XMS.XMSException
- IBM.WMQ.MQException
- IBM.XMS.WCF.ErrorCode: The error message code of the current custom channel exception.
- IBM.XMS.ErrorCode: The error message of the first XMS exception in the stack.
- IBM.WMQ.ReasonCode: The underlying IBM MQ reason code.
- IBM.WMQ.CompletionCode: The underlying IBM MQ completion code.
Non-SOAP/Non-JMS interface
The following exceptions are typical examples, and each layer in the architecture of the channel contributes an additional linked exception, for example CommunicationsException has a linked MQException:- System.ServiceModel.CommunicationsExceptions
- IBM.WMQ.MQException
- IBM.WMQ.WCF.ErrorCode: The error message code of the current custom channel exception.
- IBM.WMQ.ReasonCode: The underlying IBM MQ reason code.
- IBM.WMQ.CompletionCode: The underlying IBM MQ completion code.