Share via


SQLException.NextException Property

Definition

Retrieves the exception chained to this SQLException object by setNextException(SQLException ex). -or- Adds an SQLException object to the end of the chain.

public virtual Java.Sql.SQLException? NextException { [Android.Runtime.Register("getNextException", "()Ljava/sql/SQLException;", "GetGetNextExceptionHandler")] get; [Android.Runtime.Register("setNextException", "(Ljava/sql/SQLException;)V", "GetSetNextException_Ljava_sql_SQLException_Handler")] set; }
[<get: Android.Runtime.Register("getNextException", "()Ljava/sql/SQLException;", "GetGetNextExceptionHandler")>]
[<set: Android.Runtime.Register("setNextException", "(Ljava/sql/SQLException;)V", "GetSetNextException_Ljava_sql_SQLException_Handler")>]
member this.NextException : Java.Sql.SQLException with get, set

Property Value

the next SQLException object in the chain; null if there are none

Attributes

Remarks

Property getter documentation:

Retrieves the exception chained to this SQLException object by setNextException(SQLException ex).

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

Property setter documentation:

Adds an SQLException object to the end of the chain.

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

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