ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Handling MQException - suppressing from standard output

Post new topic  Reply to topic
 Handling MQException - suppressing from standard output « View previous topic :: View next topic » 
Author Message
ajomillar
PostPosted: Mon Jan 24, 2005 9:39 am    Post subject: Handling MQException - suppressing from standard output Reply with quote

Centurion

Joined: 22 Aug 2003
Posts: 121
Location: Milwaukee, WI

I'm testing Java code using the MQ 5.3 jar on Windows 2000. On a queue get, the exception (2033 - no message exists on queue) is immediately thrown to the standard output (Eclipse console). Even with the catch block handling MQException (no printStackTrace() call), why does this happen? I'd be happy to redirect this to a log.

The output looks like this:
Code:
MQJE001: Completion Code 2, Reason 2033
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Mon Jan 24, 2005 9:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB/viewtopic.php?t=216
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ajomillar
PostPosted: Mon Jan 24, 2005 12:38 pm    Post subject: Reply with quote

Centurion

Joined: 22 Aug 2003
Posts: 121
Location: Milwaukee, WI

When I set the MQException.log to null, it worked! Thanks.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Handling MQException - suppressing from standard output
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.