Condividi tramite


SQLTransientException Costruttori

Definizione

Overload

SQLTransientException()

Costruisce un oggetto SQLTransientException.

SQLTransientException(Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato cause.

SQLTransientException(String)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason.

SQLTransientException(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

SQLTransientException(String, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e cause.

SQLTransientException(String, String)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e SQLState.

SQLTransientException(String, String, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone cause.

SQLTransientException(String, String, Int32)

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone vendorCode.

SQLTransientException(String, String, Int32, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.

SQLTransientException()

Costruisce un oggetto SQLTransientException.

[Android.Runtime.Register(".ctor", "()V", "")]
public SQLTransientException ();
Attributi

Commenti

Costruisce un oggetto SQLTransientException. L'oggetto reason, SQLState viene inizializzato in null e il codice del fornitore viene inizializzato su 0.

L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public SQLTransientException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientException : Java.Lang.Throwable -> Java.Sql.SQLTransientException

Parametri

cause
Throwable

il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato cause. Viene SQLState inizializzato in null e il codice fornitore viene inizializzato su 0. L'oggetto reason viene inizializzato su null se cause==null o su cause.toString() se cause!=null.

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SQLTransientException (string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Sql.SQLTransientException : string -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato reason. Viene SQLState inizializzato in null e il codice vender viene inizializzato su 0.

L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

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

Parametri

javaReference
IntPtr

nativeint

Oggetto IntPtrcontenente un riferimento all'oggetto JNI (Java Native Interface).

transfer
JniHandleOwnership

Oggetto JniHandleOwnershipche indica come gestire javaReference

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLTransientException (string? reason, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientException : string * Java.Lang.Throwable -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione.

cause
Throwable

il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e cause. Viene SQLState inizializzato in null e il codice fornitore viene inizializzato su 0.

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String, String)

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e SQLState.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public SQLTransientException (string? reason, string? SQLState);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Sql.SQLTransientException : string * string -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato reason e SQLState.

L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo . Il codice fornitore viene inizializzato su 0.

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String, java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String, String, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLTransientException (string? reason, string? SQLState, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientException : string * string * Java.Lang.Throwable -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione.

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

cause
Throwable

il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone cause. Il codice fornitore viene inizializzato su 0.

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String, java.lang.String, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String, String, Int32)

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone vendorCode.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public SQLTransientException (string? reason, string? SQLState, int vendorCode);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Sql.SQLTransientException : string * string * int -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

vendorCode
Int32

Un codice di eccezione specifico del fornitore di database

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto specificato SQLStatereasone vendorCode.

L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String, java.lang.String, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SQLTransientException(String, String, Int32, Throwable)

Costruisce un SQLTransientException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")]
public SQLTransientException (string? reason, string? SQLState, int vendorCode, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientException : string * string * int * Java.Lang.Throwable -> Java.Sql.SQLTransientException

Parametri

reason
String

una descrizione dell'eccezione

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

vendorCode
Int32

un codice di eccezione specifico del fornitore di database

cause
Throwable

il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.

Attributi

Commenti

Costruisce un SQLTransientException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.

Aggiunta nella versione 1.6.

Documentazione java per java.sql.SQLTransientException.SQLTransientException(java.lang.String, java.lang.String, int, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a