MatchException(String, Throwable) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs an MatchException
with the specified detail message and
cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)]
public MatchException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)>]
new Java.Lang.MatchException : string * Java.Lang.Throwable -> Java.Lang.MatchException
Parameters
- message
- String
the detail message (which is saved for later retrieval
by the #getMessage()
method).
- cause
- Throwable
the cause (which is saved for later retrieval by the
#getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)
- Attributes
Remarks
Constructs an MatchException
with the specified detail message and cause.
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.