how to show custom error message to the user on exception while saving work item for operation participant
Hi,
I Developed an operation participant for setting the Iteration planned attribute to current iteration and when there is no current iteration for the timeline it should give a proper error message to the user.
I handled this using the following code snippet
collector.addInfo(collector.createInfo(
DefectIterationConstantsEnum.OPERATION_FAILED.getValue(),
DefectIterationConstantsEnum.NO_ITERATION.getValue()));
throw new TeamRepositoryException(
DefectIterationConstantsEnum.NO_ITERATION.getValue());
it is working fine but my concern is
The custom message is shown in the Team Advisor view but not beside the workitem name.
beside the work item name Im getting the following message
'Exception Running followup Action'
can this be done ?
Thanks
Surender
Comments
sam detweiler
Apr 20 '14, 8:25 a.m.Surender Biyyala
Apr 20 '14, 4:20 p.m.Surender Biyyala
Apr 21 '14, 2:54 p.m.