Share via


IsolatedServiceException Constructors

Definition

Overloads

IsolatedServiceException(Int32)

Creates an IsolatedServiceException with an error code to be logged.

IsolatedServiceException(Int32, Throwable)

Creates an IsolatedServiceException with an error code to be logged.

IsolatedServiceException(Int32, String, Throwable)

Creates an IsolatedServiceException with an error code to be logged.

IsolatedServiceException(Int32)

Creates an IsolatedServiceException with an error code to be logged.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=35)]
public IsolatedServiceException(int errorCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=35)>]
new Android.AdServices.OnDevicePersonalization.IsolatedServiceException : int -> Android.AdServices.OnDevicePersonalization.IsolatedServiceException

Parameters

errorCode
Int32

An error code defined by the IsolatedService.

Attributes

Remarks

Creates an IsolatedServiceException with an error code to be logged. The meaning of the error code is defined by the IsolatedService. The platform does not interpret the error code.

Java documentation for android.adservices.ondevicepersonalization.IsolatedServiceException.IsolatedServiceException(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

IsolatedServiceException(Int32, Throwable)

Creates an IsolatedServiceException with an error code to be logged.

[Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=36)]
public IsolatedServiceException(int errorCode, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.IsolatedServiceException : int * Java.Lang.Throwable -> Android.AdServices.OnDevicePersonalization.IsolatedServiceException

Parameters

errorCode
Int32

An error code defined by the IsolatedService.

cause
Throwable

the cause of this exception.

Attributes

Remarks

Creates an IsolatedServiceException with an error code to be logged. The meaning of the error code is defined by the IsolatedService. The platform does not interpret the error code.

Java documentation for android.adservices.ondevicepersonalization.IsolatedServiceException.IsolatedServiceException(int, 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

IsolatedServiceException(Int32, String, Throwable)

Creates an IsolatedServiceException with an error code to be logged.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)]
public IsolatedServiceException(int errorCode, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.IsolatedServiceException : int * string * Java.Lang.Throwable -> Android.AdServices.OnDevicePersonalization.IsolatedServiceException

Parameters

errorCode
Int32

An error code defined by the IsolatedService.

message
String

the exception message.

cause
Throwable

the cause of this exception.

Attributes

Remarks

Creates an IsolatedServiceException with an error code to be logged. The meaning of the error code is defined by the IsolatedService. The platform does not interpret the error code.

Java documentation for android.adservices.ondevicepersonalization.IsolatedServiceException.IsolatedServiceException(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