|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Linked Exceptions |
« View previous topic :: View next topic » |
Author |
Message
|
SAFraser |
Posted: Fri Nov 19, 2004 11:46 am Post subject: Linked Exceptions |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
I'm an MQ admin (not a developer). Our developers, when writing their application, did not include code that links an MQJMS error to an MQ reason code. I want to request a code change to do this, but I want to be sure I express the request in the the correct technical manner.
I found a code snippet in the MQ JMS doco. If I give the developers this snippet, should they be able to understand what I want?
try {
.
. code which may throw a JMSException
.
} catch (JMSException je) {
System.err.println("caught "+je);
Exception e = je.getLinkedException();
if (e != null) {
System.err.println("linked exception: "+e);
}
}
Please, if you java gurus could help out this bewildered sys admin, it would be much appreciated. Thanks. |
|
Back to top |
|
 |
vennela |
Posted: Fri Nov 19, 2004 12:31 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|