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 IndexWebSphere Message Broker (ACE) SupportError description from ExceptionList

Post new topicReply to topic
Error description from ExceptionList View previous topic :: View next topic
Author Message
WBI_user
PostPosted: Fri Jul 27, 2007 9:23 am Post subject: Error description from ExceptionList Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

We are trying to build a message flow (error description flow) to provide some meaningful error description to our end user by analyzing the Exceptionlist of any message flow or broker exceptions caught. We found the “Text” field under ----Exception (such as RecoverableException, ParserException, ConversionException …..) normally contains reasonably easy to understand descriptions. We also see “Text” field under each insert which may or may not contain information. Also the description, if exist, are not very easy to understand by users who are not trained on the product. Hence we want to use the “Text” field under ----Exception.
However in the infocenter under the topic “ExceptionList tree structure”, there is a footnote saying
“Do not use the File, Line, Function, and Text elements for exception handling decision making. These elements ensure that information can be written to a log for use by IBM service personnel. “
Does it mean that we should not be using that field for the purpose? I was wondering if that means IBM may use the field for other things in the future which can make our "error description" flow useless ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 27, 2007 9:50 am Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Put it in an Insert.

Don't modify an ExceptionList tree yourself.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Fri Jul 27, 2007 10:05 am Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Hi jefflowrey, thanks for the quick response. I think I was not clear on my description. I am not changing any field of the exceptionlist. I just want to use the field of the exceptionlist to output, for example, an xml message to the end user. I was wondering if I should use the "Text" field under
"---Exception "

For example in a ParserException as shown in the trace below, I have
"'CPI Text Buffer Input Data Too Short'" in ParserException.Text.
I also have 'CWFWorker::ReadDataFromBitstream' in insert.Text. Of course the Text field under ParserException is more meaningful to a general user than what is in the Text field under insert. So I was planning to output that as a description to my end user until I saw the footnote I mentioned above. This footnote gives me the impression that I should not use it. Any suggestion ?

(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S600_P\src\cpi\pwf\cwf\cwfreader.cpp'
(0x03000000):Line = 398
(0x03000000):Function = 'CWFWorker::ReadDataFromBitstream'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5503
(0x03000000):Text = 'CPI Text Buffer Input Data Too Short'
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '3'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CWFWorker::ReadDataFromBitstream'
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 27, 2007 10:13 am Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It doesn't say not to use them.

It just says not to use them for decision making.

I think what is meant here is that the Text descriptions put into the Inserts are subject to change, but the the BIP number isn't. The sentence you quoted is probably there to allow the Broker development team to change these at whim, without worrying if someone's production environment will break.

So use them, but don't rely on them.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportError description from ExceptionList
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.