pass route to not found exception