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. |
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| 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
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.