ParseError thrown

syntax error, unexpected 'catch' (T_CATCH), expecting end of file