Remove redundant brackets after throw in 2 files

Using throw(new Exception(...)) instead of throw new Exception(...) was breaking document outline generation and autocomplete in eclipse