Author |
Message
|
JYama |
Posted: Mon Aug 13, 2007 1:58 am Post subject: about exceptionlist |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Hi experts,
Is there anybody who is familiar with error handling with exceptionlist?
I read the product documentation below, but this is noted that we can't use text elements in the exceptionlist for exception handling decision making.
(http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ac00540_.htm?resultof=%22%65%78%63%65%70%74%69%6f%6e%6c%69%73%74%22%20)
Quote: |
Notes:
1. 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. |
How can I understand this?
Does this mean that we can't rely on text elements in the exceptionlist?
If so, what is exceptionlist???
Thanks in advance,
Last edited by JYama on Mon Aug 13, 2007 2:48 am; edited 1 time in total |
|
Back to top |
|
 |
ghada |
Posted: Mon Aug 13, 2007 2:16 am Post subject: |
|
|
Apprentice
Joined: 13 Oct 2005 Posts: 41 Location: Egypt
|
hello
I'm searching the same topic these days, so I see that you may use the exception type name in the tree:
* RecoverableException
* ParserException
* ConversionException
* UserException
* DatabaseException
for exception handling and decision making and use the text just for reporting or logging, I will update you with my trials soon
I hope this helps
best wishes
ghada |
|
Back to top |
|
 |
JYama |
Posted: Mon Aug 13, 2007 2:29 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Thank you very much for your information, ghada.
I'm also curious about the difference between syslog outputs and informaion in the exception trees.
Are they equal?
In other words, do you think that users can trouble shoot only with the information included in exception trees?
Of course, there are various cases but I'm especially assuming the case of RecoverbleException.
Any ideas?
Cheers, |
|
Back to top |
|
 |
ghada |
Posted: Mon Aug 13, 2007 3:17 am Post subject: |
|
|
Apprentice
Joined: 13 Oct 2005 Posts: 41 Location: Egypt
|
hello JYama
well I think the Information in the Exception list is not always enough especially when it comes to RecoverableExcption, I'm trying to use the tree in handling many kinds of exceptions but I'm still in the trials state, I will always update you.
As for info in the exception list and logs I think they are almost the same.
best wishes
Gahda |
|
Back to top |
|
 |
dkeister |
Posted: Mon Aug 13, 2007 6:19 am Post subject: |
|
|
Disciple
Joined: 25 Mar 2002 Posts: 184 Location: Purchase, New York
|
|
Back to top |
|
 |
JYama |
Posted: Mon Aug 13, 2007 8:44 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Well, it is a good redbook, dkeister.
I think the exception list should be providing great information but how can I understand the note in the WMB Infocenter?
Of course, I don't need many stuff in the exceptionList such as File, Line, and function but Text element may be usefull info. for exception handling decision making. How can I understand this note?
Quote: |
Notes:
1. 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.
|
|
|
Back to top |
|
 |
dkeister |
Posted: Mon Aug 13, 2007 10:49 am Post subject: |
|
|
Disciple
Joined: 25 Mar 2002 Posts: 184 Location: Purchase, New York
|
I can't answer that question. I use the information from the Recoverable Error section. _________________ Dean Keister |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 13, 2007 11:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That note just means that you shouldn't make decisions based on what's in those fields. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JYama |
Posted: Mon Aug 13, 2007 10:39 pm Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Quote: |
That note just means that you shouldn't make decisions based on what's in those fields. |
Could you elaborate on that, please?
How do you think about the criteria of trouble-shooting?
Actually I was assuming that we would be able to make decesions based on exceptionlist.
 |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Aug 14, 2007 10:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can make decisions based on the ExceptionList.
Just not those fields.
Haven't we had this conversation before? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|