Compartilhar via


SQLException.Iterator Method

Definition

Returns an iterator over the chained SQLExceptions.

[Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler")]
public virtual Java.Util.IIterator Iterator ();
[<Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler")>]
abstract member Iterator : unit -> Java.Util.IIterator
override this.Iterator : unit -> Java.Util.IIterator

Returns

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

Attributes

Remarks

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

Added in 1.6.

Java documentation for java.sql.SQLException.iterator().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to