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

How to throw an error message : createExceptionInfo() in IOperationParticipant : Server side plugin

Hello All,

I am developing a server side followup participant, where i need to restrict the user to add only tracks links to a particular WI. If not it should throw a message to the user.

How to set the createExceptionInfo() in  IOperationParticipant

Code snippet :

Throwable exception = null;
IReportInfo createProblemInfo = ((IParticipantInfoCollector)   collector).createExceptionInfo("Please add a defect workitem.", exception );
collector.addInfo(createProblemInfo);
return;

Please suggest on this.

0 votes


Accepted answer

Permanent link
See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ . The Extensions Workshop explains this in detail.
Shwetha G selected this answer as the correct answer

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
× 6,130

Question asked: Jan 04 '17, 12:53 a.m.

Question was seen: 1,364 times

Last updated: Jan 05 '17, 3:18 a.m.

Confirmation Cancel Confirm