Posted: Wed Aug 21, 2002 7:18 am Post subject: MQException
Apprentice
Joined: 30 May 2002 Posts: 26
Does all MQSeries java APIs throw only MQException when it encounters an error? Are there sub classes to MQException that provide more specific error explainations? or must be relied on the error code and the error source to figure out the error. I tried looking into the com.ibm.mq.jar and found MQException and MQInternalException.
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
The reason code is basically it. The Java classes make underlying calls to the MQSeries APIs such as MQCONN, MQOPEN, MQPUT and MQGET etc. These calls all return an integer reason code. That is what you get back in the MQException. The IBM Messages and Codes manual for WebSphere MQ is pretty good at explaining the reason codes.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum