Partager via


RequestSurfacePackageException Constructors

Definition

Overloads

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String)

Initializes a RequestSurfacePackageException with a result code and a message

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable)

Initializes a RequestSurfacePackageException with a result code, a message and a cause.

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable, Bundle)

Initializes a RequestSurfacePackageException with a result code, a message, a cause and extra information.

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String)

Initializes a RequestSurfacePackageException with a result code and a message

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)]
public RequestSurfacePackageException (Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string -> Android.App.SdkSandbox.RequestSurfacePackageException

Parameters

requestSurfacePackageErrorCode
RequestSurfacePackageErrorCode

The result code.

message
String

The detailed message which is saved for later retrieval by the #getMessage() method.

Attributes

Remarks

Initializes a RequestSurfacePackageException with a result code and a message

Java documentation for android.app.sdksandbox.RequestSurfacePackageException.RequestSurfacePackageException(int, 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

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable)

Initializes a RequestSurfacePackageException with a result code, a message and a cause.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public RequestSurfacePackageException (Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string * Java.Lang.Throwable -> Android.App.SdkSandbox.RequestSurfacePackageException

Parameters

requestSurfacePackageErrorCode
RequestSurfacePackageErrorCode

The result code.

message
String

The detailed message which is saved for later retrieval by the #getMessage() method.

cause
Throwable

The cause of the exception, 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

Initializes a RequestSurfacePackageException with a result code, a message and a cause.

Java documentation for android.app.sdksandbox.RequestSurfacePackageException.RequestSurfacePackageException(int, 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

RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable, Bundle)

Initializes a RequestSurfacePackageException with a result code, a message, a cause and extra information.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;Landroid/os/Bundle;)V", "", ApiSince=34)]
public RequestSurfacePackageException (Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message, Java.Lang.Throwable? cause, Android.OS.Bundle extraInfo);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;Landroid/os/Bundle;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string * Java.Lang.Throwable * Android.OS.Bundle -> Android.App.SdkSandbox.RequestSurfacePackageException

Parameters

requestSurfacePackageErrorCode
RequestSurfacePackageErrorCode

The result code.

message
String

The detailed message which is saved for later retrieval by the #getMessage() method.

cause
Throwable

The cause of the exception, which is saved for later retrieval by the #getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.

extraInfo
Bundle

Extra error information. This is empty if there is no such information.

Attributes

Remarks

Initializes a RequestSurfacePackageException with a result code, a message, a cause and extra information.

Java documentation for android.app.sdksandbox.RequestSurfacePackageException.RequestSurfacePackageException(int, java.lang.String, java.lang.Throwable, android.os.Bundle).

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