changed exception type for no route case