ErrorManager.Error(String, Exception, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The error method is called when a Handler failure occurs.
[Android.Runtime.Register("error", "(Ljava/lang/String;Ljava/lang/Exception;I)V", "GetError_Ljava_lang_String_Ljava_lang_Exception_IHandler")]
public virtual void Error (string? msg, Java.Lang.Exception? ex, int code);
[<Android.Runtime.Register("error", "(Ljava/lang/String;Ljava/lang/Exception;I)V", "GetError_Ljava_lang_String_Ljava_lang_Exception_IHandler")>]
abstract member Error : string * Java.Lang.Exception * int -> unit
override this.Error : string * Java.Lang.Exception * int -> unit
Parameters
- msg
- String
a descriptive string (may be null)
- ex
- Exception
an exception (may be null)
- code
- Int32
an error code defined in ErrorManager
- Attributes
Remarks
The error method is called when a Handler failure occurs.
This method may be overridden in subclasses. The default behavior in this base class is that the first call is reported to System.err, and subsequent calls are ignored.
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.