-
Notifications
You must be signed in to change notification settings - Fork 0
/
Thread+IUncaughtExceptionHandler.xml
109 lines (109 loc) · 7.1 KB
/
Thread+IUncaughtExceptionHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<Type Name="Thread+IUncaughtExceptionHandler" FullName="Java.Lang.Thread+IUncaughtExceptionHandler">
<TypeSignature Language="C#" Value="public interface Thread.IUncaughtExceptionHandler : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class nested public interface auto ansi abstract beforefieldinit Thread/IUncaughtExceptionHandler implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Lang.Thread.IUncaughtExceptionHandler" />
<TypeSignature Language="F#" Value="type Thread.IUncaughtExceptionHandler = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/lang/Thread$UncaughtExceptionHandler", "", "Java.Lang.Thread/IUncaughtExceptionHandlerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/lang/Thread$UncaughtExceptionHandler", "", "Java.Lang.Thread/IUncaughtExceptionHandlerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface for handlers invoked when a <c>Thread</c> abruptly
terminates due to an uncaught exception.</summary>
<remarks>
<para>Interface for handlers invoked when a <c>Thread</c> abruptly
terminates due to an uncaught exception.</para>
<para>When a thread is about to terminate due to an uncaught exception
the Java Virtual Machine will query the thread for its
<c>UncaughtExceptionHandler</c> using
<c>#getUncaughtExceptionHandler</c> and will invoke the handler's
<c>uncaughtException</c> method, passing the thread and the
exception as arguments.
If a thread has not had its <c>UncaughtExceptionHandler</c>
explicitly set, then its <c>ThreadGroup</c> object acts as its
<c>UncaughtExceptionHandler</c>. If the <c>ThreadGroup</c> object
has no
special requirements for dealing with the exception, it can forward
the invocation to the #getDefaultUncaughtExceptionHandler
default uncaught exception handler.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/lang/Thread.UncaughtExceptionHandler" title="Reference documentation">Java documentation for <code>java.lang.Thread.UncaughtExceptionHandler</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="UncaughtException">
<MemberSignature Language="C#" Value="public void UncaughtException (Java.Lang.Thread t, Java.Lang.Throwable e);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UncaughtException(class Java.Lang.Thread t, class Java.Lang.Throwable e) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Lang.Thread.IUncaughtExceptionHandler.UncaughtException(Java.Lang.Thread,Java.Lang.Throwable)" />
<MemberSignature Language="F#" Value="abstract member UncaughtException : Java.Lang.Thread * Java.Lang.Throwable -> unit" Usage="iUncaughtExceptionHandler.UncaughtException (t, e)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", "GetUncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_Handler:Java.Lang.Thread/IUncaughtExceptionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", "GetUncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_Handler:Java.Lang.Thread/IUncaughtExceptionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t" Type="Java.Lang.Thread" />
<Parameter Name="e" Type="Java.Lang.Throwable" />
</Parameters>
<Docs>
<param name="t">the thread</param>
<param name="e">the exception</param>
<summary>Method invoked when the given thread terminates due to the
given uncaught exception.</summary>
<remarks>
<para>Method invoked when the given thread terminates due to the
given uncaught exception.</para>
<para>Any exception thrown by this method will be ignored by the
Java Virtual Machine.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/lang/Thread.UncaughtExceptionHandler#uncaughtException(java.lang.Thread,%20java.lang.Throwable)" title="Reference documentation">Java documentation for <code>java.lang.Thread.UncaughtExceptionHandler.uncaughtException(java.lang.Thread, java.lang.Throwable)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>