Udostępnij za pośrednictwem


JSONTokener.SyntaxError(String) Method

Definition

Returns an exception containing the given message plus the current position and the entire input string.

[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

Parameters

message
String

Returns

Attributes

Remarks

Returns an exception containing the given message plus the current position and the entire input string.

Java documentation for org.json.JSONTokener.syntaxError(java.lang.String).

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