Logger.Throwing(String, String, Throwable) Method

Definition

Log throwing an exception.

[Android.Runtime.Register("throwing", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "GetThrowing_Ljava_lang_String_Ljava_lang_String_Ljava_lang_Throwable_Handler")]
public virtual void Throwing (string? sourceClass, string? sourceMethod, Java.Lang.Throwable? thrown);
[<Android.Runtime.Register("throwing", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "GetThrowing_Ljava_lang_String_Ljava_lang_String_Ljava_lang_Throwable_Handler")>]
abstract member Throwing : string * string * Java.Lang.Throwable -> unit
override this.Throwing : string * string * Java.Lang.Throwable -> unit

Parameters

sourceClass
String

name of class that issued the logging request

sourceMethod
String

name of the method.

thrown
Throwable

The Throwable that is being thrown.

Attributes

Remarks

Java documentation for java.util.logging.Logger.throwing(java.lang.String, 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