Throw exception if route can't be found.