public boolean hasNext ( ) { if ( _rs == null ) return false ; if ( _primed ) return true ; try { _primed = _rs . next ( ) ; return _primed ; } catch ( SQLException sql ) { String msg = "An exception occurred reading from the Iterator. Cause: " + sql ; LOGGER . error ( msg , sql ) ; throw new IllegalStateException ( msg , sql ) ; } }
Check for a subsequent item in the ResultSet .