SQLClientInfoException Constructors

Definition

Overloads

SQLClientInfoException()

Constructs a SQLClientInfoException Object.

SQLClientInfoException(IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given failedProperties.

SQLClientInfoException(IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given cause and failedProperties.

SQLClientInfoException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SQLClientInfoException(String, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason and failedProperties.

SQLClientInfoException(String, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, cause and failedProperties.

SQLClientInfoException(String, String, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState and failedProperties.

SQLClientInfoException(String, String, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause and failedProperties.

SQLClientInfoException(String, String, Int32, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, vendorCode and failedProperties.

SQLClientInfoException(String, String, Int32, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause, vendorCode and failedProperties.

SQLClientInfoException()

Constructs a SQLClientInfoException Object.

[Android.Runtime.Register(".ctor", "()V", "")]
public SQLClientInfoException ();
Attributes

Remarks

Constructs a SQLClientInfoException Object. The reason, SQLState, and failedProperties list are initialized to null and the vendor code is initialized to 0. The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException().

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

SQLClientInfoException(IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/util/Map;)V", "")]
public SQLClientInfoException (System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Map;)V", "")>]
new Java.Sql.SQLClientInfoException : System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> -> Java.Sql.SQLClientInfoException

Parameters

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus<p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given failedProperties. The reason and SQLState are initialized to null and the vendor code is initialized to 0.

The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.util.Map<java.lang.String, java.sql.ClientInfoStatus>).

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

SQLClientInfoException(IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given cause and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/util/Map;Ljava/lang/Throwable;)V", "")]
public SQLClientInfoException (System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Map;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLClientInfoException : System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> * Java.Lang.Throwable -> Java.Sql.SQLClientInfoException

Parameters

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus

cause
Throwable

the (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. <p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given cause and failedProperties.

The reason is initialized to null if cause==null or to cause.toString() if cause!=null and the vendor code is initialized to 0.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.util.Map<java.lang.String, java.sql.ClientInfoStatus>, java.lang.Throwable).

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

SQLClientInfoException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SQLClientInfoException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Sql.SQLClientInfoException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Sql.SQLClientInfoException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

SQLClientInfoException(String, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")]
public SQLClientInfoException (string? reason, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")>]
new Java.Sql.SQLClientInfoException : string * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus<p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason and failedProperties. The SQLState is initialized to null and the vendor code is initialized to 0.

The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>).

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

SQLClientInfoException(String, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, cause and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;Ljava/lang/Throwable;)V", "")]
public SQLClientInfoException (string? reason, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLClientInfoException : string * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> * Java.Lang.Throwable -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus

cause
Throwable

the underlying reason for this SQLException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. <p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason, cause and failedProperties. The SQLState is initialized to null and the vendor code is initialized to 0.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>, java.lang.Throwable).

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

SQLClientInfoException(String, String, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V", "")]
public SQLClientInfoException (string? reason, string? SQLState, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V", "")>]
new Java.Sql.SQLClientInfoException : string * string * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

SQLState
String

an XOPEN or SQL:2003 code identifying the exception

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus<p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason, SQLState and failedProperties. The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method. The vendor code is initialized to 0.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>).

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

SQLClientInfoException(String, String, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/Throwable;)V", "")]
public SQLClientInfoException (string? reason, string? SQLState, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLClientInfoException : string * string * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> * Java.Lang.Throwable -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

SQLState
String

an XOPEN or SQL:2003 code identifying the exception

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus

cause
Throwable

the underlying reason for this SQLException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. <p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause and failedProperties. The vendor code is initialized to 0.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>, java.lang.Throwable).

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

SQLClientInfoException(String, String, Int32, IDictionary<String,ClientInfoStatus>)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, vendorCode and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;)V", "")]
public SQLClientInfoException (string? reason, string? SQLState, int vendorCode, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;)V", "")>]
new Java.Sql.SQLClientInfoException : string * string * int * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

SQLState
String

an XOPEN or SQL:2003 code identifying the exception

vendorCode
Int32

a database vendor-specific exception code

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus<p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, vendorCode and failedProperties. The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.lang.String, int, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>).

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

SQLClientInfoException(String, String, Int32, IDictionary<String,ClientInfoStatus>, Throwable)

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause, vendorCode and failedProperties.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;Ljava/lang/Throwable;)V", "")]
public SQLClientInfoException (string? reason, string? SQLState, int vendorCode, System.Collections.Generic.IDictionary<string,Java.Sql.ClientInfoStatus>? failedProperties, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLClientInfoException : string * string * int * System.Collections.Generic.IDictionary<string, Java.Sql.ClientInfoStatus> * Java.Lang.Throwable -> Java.Sql.SQLClientInfoException

Parameters

reason
String

a description of the exception

SQLState
String

an XOPEN or SQL:2003 code identifying the exception

vendorCode
Int32

a database vendor-specific exception code

failedProperties
IDictionary<String,ClientInfoStatus>

A Map containing the property values that could not be set. The keys in the Map contain the names of the client info properties that could not be set and the values contain one of the reason codes defined in ClientInfoStatus

cause
Throwable

the underlying reason for this SQLException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown. <p>

Attributes

Remarks

Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause, vendorCode and failedProperties.

Added in 1.6.

Java documentation for java.sql.SQLClientInfoException.SQLClientInfoException(java.lang.String, java.lang.String, int, java.util.Map<java.lang.String, java.sql.ClientInfoStatus>, java.lang.Throwable).

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