Exception - syntax error, unexpected '{'