Udostępnij za pośrednictwem


PatternSyntaxException Constructors

Definition

Overloads

PatternSyntaxException(IntPtr, JniHandleOwnership)

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

PatternSyntaxException(String, String, Int32)

Constructs a new instance of this class.

PatternSyntaxException(IntPtr, JniHandleOwnership)

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

protected PatternSyntaxException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Regex.PatternSyntaxException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Regex.PatternSyntaxException

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

PatternSyntaxException(String, String, Int32)

Constructs a new instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public PatternSyntaxException (string? desc, string? regex, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Util.Regex.PatternSyntaxException : string * string * int -> Java.Util.Regex.PatternSyntaxException

Parameters

desc
String

A description of the error

regex
String

The erroneous pattern

index
Int32

The approximate index in the pattern of the error, or -1 if the index is not known

Attributes

Remarks

Constructs a new instance of this class.

Java documentation for java.util.regex.PatternSyntaxException.PatternSyntaxException(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