MQException.NET class
Use MQException to find out the completion and reason code of a failed IBM MQ function. An MQException is thrown whenever an IBM MQ error occurs.
Class
System.Object
|
└─ System.Exception
|
└─ System.ApplicationException
|
└─ IBM.WMQ.MQException
public class IBM.WMQ.MQException extends System.ApplicationException ;
Properties
- public int CompletionCode {get; set;}
- The IBM MQ completion code associated with the error. The possible values are:
- MQException.MQCC_OK
- MQException.MQCC_WARNING
- MQException.MQCC_FAILED
- public int ReasonCode {get; set;}
- IBM MQ reason code describing the error.
Constructors
- public MQException(int completionCode, int reasonCode)
-
- completionCode
- The IBM MQ completion code.
- reasonCode
- The IBM MQ completion code.
Parent topic: The IBM MQ .NET classes and interfaces