Skip to Content
0
Former Member
Feb 25, 2009 at 05:21 AM

error handling in a method of a zclass

135 Views

Hi Folks

i am working on Object oriented programming.here i have created a zclass and created methods in it.

In one of the method i am validating the type of file input by the user in the selection screen.

so i want to handle the exceptions in it i.e. 1) if the input type is fine then success else 2) wrong input file.

so can anyone of u tell me how can i handle these exceptions.i gave exception in exception tab and also gave description for that and raising the same in the code but its not triggering the exception.

let me know process of handling exceptions.

thanks in advance