Udostępnij za pośrednictwem


ZoneRulesException Constructors

Definition

Overloads

ZoneRulesException(String)

Constructs a new date-time exception with the specified message.

ZoneRulesException(IntPtr, JniHandleOwnership)
ZoneRulesException(String, Throwable)

Constructs a new date-time exception with the specified message and cause.

ZoneRulesException(String)

Constructs a new date-time exception with the specified message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public ZoneRulesException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Time.Zone.ZoneRulesException : string -> Java.Time.Zone.ZoneRulesException

Parameters

message
String

the message to use for this exception, may be null

Attributes

Remarks

Constructs a new date-time exception with the specified message.

Java documentation for java.time.zone.ZoneRulesException.ZoneRulesException(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

ZoneRulesException(IntPtr, JniHandleOwnership)

protected ZoneRulesException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Time.Zone.ZoneRulesException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Time.Zone.ZoneRulesException

Parameters

javaReference
IntPtr

nativeint

Applies to

ZoneRulesException(String, Throwable)

Constructs a new date-time exception with the specified message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=26)]
public ZoneRulesException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=26)>]
new Java.Time.Zone.ZoneRulesException : string * Java.Lang.Throwable -> Java.Time.Zone.ZoneRulesException

Parameters

message
String

the message to use for this exception, may be null

cause
Throwable

the cause of the exception, may be null

Attributes

Remarks

Constructs a new date-time exception with the specified message and cause.

Java documentation for java.time.zone.ZoneRulesException.ZoneRulesException(java.lang.String, java.lang.Throwable).

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