Freigeben über


DatabaseUtils.WriteExceptionToParcel(Parcel, Exception) Method

Definition

Special function for writing an exception result at the header of a parcel, to be used when returning an exception from a transaction.

[Android.Runtime.Register("writeExceptionToParcel", "(Landroid/os/Parcel;Ljava/lang/Exception;)V", "")]
public static void WriteExceptionToParcel (Android.OS.Parcel? reply, Java.Lang.Exception? e);
[<Android.Runtime.Register("writeExceptionToParcel", "(Landroid/os/Parcel;Ljava/lang/Exception;)V", "")>]
static member WriteExceptionToParcel : Android.OS.Parcel * Java.Lang.Exception -> unit

Parameters

reply
Parcel

Parcel to write to

e
Exception

The Exception to be written.

Attributes

Remarks

Special function for writing an exception result at the header of a parcel, to be used when returning an exception from a transaction. exception will be re-thrown by the function in another process

Java documentation for android.database.DatabaseUtils.writeExceptionToParcel(android.os.Parcel, java.lang.Exception).

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

See also