Caught Exceptions repeatedly adding

Hi,

     I am creating custom validator in my code which returns userdefined Invalid exception if fails. Problem is caught exceptions are added repeatedly in error stack. Can any one help me to clear that stack once again the error will occur. Tahnk You.