throw SQLException instead of NPE if .getX is called before next()