Skip to Content
Former Member
Jun 08, 2009 at 11:51 AM

Using Which Exception we can stop to Call Another Method


Hi Experts,

In my application iam using two methods, iam calling Method A in Method B.

Method A is throwing one exception based on one condition i used wdComponentAPI.getMessageManager().reportInvalidContextAttributeException(

when this exception raised in Method A its showing exception message and its not able to stop to call Method B.

so i called the same exception based on the same condition what i checked in method A,

so in method b also showing exception messages but i want to show only one exception message what to do

plz help me in this