Remove unnecessary "throws Exception" from functions which do not throw ...

...Exception.

There were some functions that threw Exception but never threw any exceptions.