Freigeben über


URISyntaxException Constructors

Definition

Overloads

URISyntaxException(IntPtr, JniHandleOwnership)

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

URISyntaxException(String, String)

Constructs an instance from the given input string and reason.

URISyntaxException(String, String, Int32)

Constructs an instance from the given input string, reason, and error index.

URISyntaxException(IntPtr, JniHandleOwnership)

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

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

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

URISyntaxException(String, String)

Constructs an instance from the given input string and reason.

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

Parameters

input
String

The input string

reason
String

A string explaining why the input could not be parsed

Attributes

Exceptions

if one of the arguments input or reason is null.

Remarks

Constructs an instance from the given input string and reason. The resulting object will have an error index of -1.

Java documentation for java.net.URISyntaxException.URISyntaxException(java.lang.String, 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

URISyntaxException(String, String, Int32)

Constructs an instance from the given input string, reason, and error index.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public URISyntaxException (string? input, string? reason, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Net.URISyntaxException : string * string * int -> Java.Net.URISyntaxException

Parameters

input
String

The input string

reason
String

A string explaining why the input could not be parsed

index
Int32

The index at which the parse error occurred, or -1 if the index is not known

Attributes

Exceptions

if one of the arguments input or reason is null.

if the value for index is lesser than -1.

Remarks

Constructs an instance from the given input string, reason, and error index.

Java documentation for java.net.URISyntaxException.URISyntaxException(java.lang.String, java.lang.String, int).

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