Exact solvability of superintegrable systems