Android Guides | Samples

Android.OS.Parcel.ReadException Method

Throw an exception with the given message.

Syntax

[Android.Runtime.Register("readException", "(ILjava/lang/String;)V", "")]
public Void ReadException (Int32 code, String msg)

Parameters

code
Used to determine which exception class to throw.
msg
The exception message.

Remarks

Throw an exception with the given message. Not intended for use outside the Parcel class.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1