Uncaught exception

syntax error, unexpected '}', expecting end of file