LogRecord.Thrown Property
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.
Get any throwable associated with the log record. -or- Set a throwable associated with the log event.
public virtual Java.Lang.Throwable? Thrown { [Android.Runtime.Register("getThrown", "()Ljava/lang/Throwable;", "GetGetThrownHandler")] get; [Android.Runtime.Register("setThrown", "(Ljava/lang/Throwable;)V", "GetSetThrown_Ljava_lang_Throwable_Handler")] set; }
[<get: Android.Runtime.Register("getThrown", "()Ljava/lang/Throwable;", "GetGetThrownHandler")>]
[<set: Android.Runtime.Register("setThrown", "(Ljava/lang/Throwable;)V", "GetSetThrown_Ljava_lang_Throwable_Handler")>]
member this.Thrown : Java.Lang.Throwable with get, set
Property Value
a throwable
- Attributes
Remarks
Property getter documentation:
Get any throwable associated with the log record.
If the event involved an exception, this will be the exception object. Otherwise null.
Java documentation for java.util.logging.LogRecord.getThrown()
.
Property setter documentation:
Set a throwable associated with the log event.
Java documentation for java.util.logging.LogRecord.setThrown(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.