Author |
Message
|
techno |
Posted: Wed Feb 04, 2004 10:00 am Post subject: JMSException MQException errorcode-reasoncode |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Do we have the mq exeption reason-codes and corresponding jms exception error-codes as a list somewhere?
For example:
JMS Error Code:MQJMS2008 - MQ Error Code:2085
Do we have the list for other codes? |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Feb 04, 2004 10:35 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The MQJMS error codes are in the back of the Using Java manual. The underlying error code is from MQ. You can issue mqrc on the command line to get it:
mqrc 2085
2085 0x00000825 MQRC_UNKNOWN_OBJECT_NAME
You can also check out the Application Programming Reference. They are in the back of it as well. |
|
Back to top |
|
 |
techno |
Posted: Wed Feb 04, 2004 12:47 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Sorry,
I am looking for the list showing
MQJMS2008 - 2085 , for example.
Thanks |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Feb 04, 2004 1:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I don't think you'll find a list because I don't believe there is a one-to-one mapping. |
|
Back to top |
|
 |
techno |
Posted: Wed Feb 04, 2004 1:38 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Hi
Why I need it is:
The code, I want is totally independent of WebShepere MQ Java classes. ie, totally JMS code. When I get the exception, I am using LinkedException and MQException to analyze it. I want to get rid of these two. What is your suggestion? |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Feb 05, 2004 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Whenever somebody who is using MQ for JMS tells me that they are getting an MQJMSxxxx exception, the first thing that I ask for is the linked exception which gives the underlying reason. |
|
Back to top |
|
 |
|