If knp_pager doesn't have paginator dependency injected, throw an exception.