It's all about the answers!

Ask a question

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


Shwetha G (6027) | asked Jan 04 '17, 12:53 a.m.
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.

Accepted answer


permanent link
Ralph Schoon (61.5k33643) | answered Jan 05 '17, 3:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Your answer


Register or to post your answer.