Replace implicit catches of Throwables with explicit catches.
Merge pull request #2092 from AndrejMitrovic/RemoveImplicitCatch

Replace implicit catches of Throwables with explicit catches.