Lingua

JSONTokener.SyntaxError(String) Metodo

Definizione

Restituisce un'eccezione contenente il messaggio specificato più la posizione corrente e l'intera stringa di input.

[Android.Runtime.Register("syntaxError", "(Ljava/lang/String;)Lorg/json/JSONException;", "GetSyntaxError_Ljava_lang_String_Handler")]
public virtual Org.Json.JSONException? SyntaxError(string? message);
[<Android.Runtime.Register("syntaxError", "(Ljava/lang/String;)Lorg/json/JSONException;", "GetSyntaxError_Ljava_lang_String_Handler")>]
abstract member SyntaxError : string -> Org.Json.JSONException
override this.SyntaxError : string -> Org.Json.JSONException

Parametri

message
String

Messaggio da includere nell'eccezione.

Valori restituiti

Eccezione contenente message, la posizione corrente e l'intera stringa di input.

Attributi

Commenti

Restituisce un'eccezione contenente il messaggio specificato più la posizione corrente e l'intera stringa di input.

per org.json.JSONTokener.syntaxError(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