Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

1 vote



One answer

Permanent link
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
special we should be doing in our plug-in code.)

Thanks,
Gaston

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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Jan 26 '09, 2:48 p.m.

Question was seen: 6,477 times

Last updated: Jan 26 '09, 2:48 p.m.

Confirmation Cancel Confirm