I've recently been reading Path Integrals and Quantum Processes by Mark Swanson; it's an excellent and pedagogical introduction to the Path Integral formulation. He derives the path integral and shows it to be: $$\int_{q_a}^{q_b} \mathcal{D}p\mathcal{D}q\exp\{\frac{i}{\hbar}\int_{t_a}^{t_b} \mathcal{L}(p, q)\}$$
This is clear to me. He then likens it to a discrete sum $$\sum_\limits{\text{paths}}\exp\left(\frac{iS}{\hbar}\right)$$ where $S$ is the action functional of a particular path.
Now, this is where I get confused. He claims that, because some of these paths are discontinuous or non-differentiable and that these "un-mathematical"1 paths cannot be disregarded, the sum is not mathematically rigorous, and, thus, that the transition amplitude described by the path integral is not rigorous either. Please correct me if I am incorrect here.
Furthermore, he claims that this can be alleviated through the development of a suitable measure. There are two things that I don't understand about this. First, why isn't the integral rigorous? Though some of the paths might be difficult to handle mathematically, they aren't explicitly mentioned at all in the integral. Why isn't the answer that it spits out rigorous? And, second, why would a measure fix this problem?
1 Note: this is not the term he uses