Where are you getting that error?
Is the next symbol after the try a {?
Where is the matching }?
What is the next symbol after the }?
The compiler would like there to be a catch(..){..} there....