Best Practice for Exception/Error handling
Hi,
What's the recommended best practice for exception handling in Jazz plug-ins? I searched the JazzLabs wiki for information and didn't really find any. Right now we are just letting Jazz handle any exceptions or errors caused by calling the Jazz API or using values returned by Jazz API. Is that the best practice? (It seems to be working fine, but I wondered if there was anything special we should be doing in our plug-in code.) Thanks, Gaston |
One answer
grwillia@us.ibm-dot-com.no-spam.invalid (gastonw) wrote in news:gll4k4$nfh
$1@localhost.localdomain: (It seems to be working fine, but I wondered if there was anything Hey Gaston, can you elaborate ? You mean when you call Jazz API what shoudl you do with Exceptions ? The generic answer is: Catch, Handle (i.e log and trace how you called it), then create an exception in your code that will help your customer (so if the jazz api exception is about a work item but your application does not deal with work item, explain to the user what function failed and how to recover) let me know -- Christophe Elek Serviceability Architect IBM Software Group - Rational |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.