Refactored to remove checked exception from signature