Refactored key parameter exceptions.