Forum Discussion
shankar_r
8 years agoCommunity Hero
Basically, Try Catch will catch the Object doesn't exists error.
If you want to ignore the Object doesn't exists error then you have to the check the object existent before you do your validation. like below.
try{
progressbar = progressbarload() // I'm not sure what it will return but below is the generic way to ignore the object not exists error
if( progressbar != null && progressbar.Exists){
sys.highlightobject(progressbar )
}
}
catch(e){}