Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress Errors

Status
Not open for further replies.

NewbieScoobie

Technical User
Feb 8, 2009
8
NZ
Hi

I'm tying to cast objects to an arrayCollection (here Timesheet Data is the array collection.

TimesheetData = event.result.data.row;

However; I know that on some occasions objects will be passed to it that it cant handle. Is there anyway to catch the 1034 type conversion error without knowing what it could be and suppress the error message that appears in runtime?

I've already tried try catch statements around it without avail.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top