Linguaggio

SQLSyntaxErrorException Costruttori

Definizione

Overload

Nome Descrizione
SQLSyntaxErrorException()

Costruisce un oggetto SQLSyntaxErrorException.

SQLSyntaxErrorException(Throwable)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato cause.

SQLSyntaxErrorException(String)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato reason.

SQLSyntaxErrorException(IntPtr, JniHandleOwnership)

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

SQLSyntaxErrorException(String, Throwable)

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

SQLSyntaxErrorException(String, String)

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

SQLSyntaxErrorException(String, String, Throwable)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato SQLStatereasone cause.

SQLSyntaxErrorException(String, String, Int32)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato SQLStatereasone vendorCode.

SQLSyntaxErrorException(String, String, Int32, Throwable)

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

SQLSyntaxErrorException()

Costruisce un oggetto SQLSyntaxErrorException.

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

Commenti

Costruisce un oggetto SQLSyntaxErrorException. 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(Throwable)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato cause.

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

Parametri

cause
Throwable

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

Attributi

Commenti

Costruisce un SQLSyntaxErrorException 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato reason.

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

Parametri

reason
String

una descrizione dell'eccezione

Attributi

Commenti

Costruisce un SQLSyntaxErrorException 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(IntPtr, JniHandleOwnership)

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

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

Parametri

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

Oggetto JniHandleOwnershipche indica come gestire javaReference

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String, Throwable)

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

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

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 SQLSyntaxErrorException 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String, String)

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

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

Parametri

reason
String

una descrizione dell'eccezione

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

Attributi

Commenti

Costruisce un SQLSyntaxErrorException 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String, java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String, String, Throwable)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato SQLStatereasone cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLSyntaxErrorException(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.SQLSyntaxErrorException : string * string * Java.Lang.Throwable -> Java.Sql.SQLSyntaxErrorException

Parametri

reason
String

una descrizione dell'eccezione.

SQLState
String

codice XOPEN o SQL:2003 che identifica l'eccezione

cause
Throwable

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

Attributi

Commenti

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

Aggiunta nella versione 1.6.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String, java.lang.String, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String, String, Int32)

Costruisce un SQLSyntaxErrorException oggetto con un oggetto specificato SQLStatereasone vendorCode.

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

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 SQLSyntaxErrorException 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.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String, java.lang.String, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

SQLSyntaxErrorException(String, String, Int32, Throwable)

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

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")]
public SQLSyntaxErrorException(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.SQLSyntaxErrorException : string * string * int * Java.Lang.Throwable -> Java.Sql.SQLSyntaxErrorException

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 SQLSyntaxErrorException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.

Aggiunta nella versione 1.6.

per java.sql.SQLSyntaxErrorException.SQLSyntaxErrorException(java.lang.String, java.lang.String, int, java.lang.Throwable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a