public Iterator<Throwable> iterator ()

Implementing: java.lang.Iterable

Returns an iterator over the chained SQLExceptions. The iterator will be used to iterate over each SQLException and its underlying cause (if any).

Returns:  an iterator over the chained SQLExceptions and causes in the proper order

Since:  1.6