다음을 통해 공유


InvalidPreferencesFormatException Constructors

Definition

Overloads

InvalidPreferencesFormatException(Throwable)

Constructs an InvalidPreferencesFormatException with the specified cause.

InvalidPreferencesFormatException(String)

Constructs an InvalidPreferencesFormatException with the specified detail message.

InvalidPreferencesFormatException(IntPtr, JniHandleOwnership)

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

InvalidPreferencesFormatException(String, Throwable)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

InvalidPreferencesFormatException(Throwable)

Constructs an InvalidPreferencesFormatException with the specified cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public InvalidPreferencesFormatException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : Java.Lang.Throwable -> Java.Util.Prefs.InvalidPreferencesFormatException

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the Throwable#getCause() method).

Attributes

Remarks

Constructs an InvalidPreferencesFormatException with the specified cause.

Java documentation for java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(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

InvalidPreferencesFormatException(String)

Constructs an InvalidPreferencesFormatException with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public InvalidPreferencesFormatException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : string -> Java.Util.Prefs.InvalidPreferencesFormatException

Parameters

message
String

the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.

Attributes

Remarks

Constructs an InvalidPreferencesFormatException with the specified detail message.

Java documentation for java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(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

InvalidPreferencesFormatException(IntPtr, JniHandleOwnership)

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

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

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

InvalidPreferencesFormatException(String, Throwable)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public InvalidPreferencesFormatException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : string * Java.Lang.Throwable -> Java.Util.Prefs.InvalidPreferencesFormatException

Parameters

message
String

the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.

cause
Throwable

the cause (which is saved for later retrieval by the Throwable#getCause() method).

Attributes

Remarks

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

Java documentation for java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(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