Removing exception types from throws expression