Executable.GetGenericExceptionTypes 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.
Returns an array of Type
objects that represent the
exceptions declared to be thrown by this executable object.
[Android.Runtime.Register("getGenericExceptionTypes", "()[Ljava/lang/reflect/Type;", "GetGetGenericExceptionTypesHandler", ApiSince=26)]
public virtual Java.Lang.Reflect.IType[] GetGenericExceptionTypes ();
[<Android.Runtime.Register("getGenericExceptionTypes", "()[Ljava/lang/reflect/Type;", "GetGetGenericExceptionTypesHandler", ApiSince=26)>]
abstract member GetGenericExceptionTypes : unit -> Java.Lang.Reflect.IType[]
override this.GetGenericExceptionTypes : unit -> Java.Lang.Reflect.IType[]
Returns
an array of Types that represent the exception types thrown by the underlying executable
- Attributes
Remarks
Returns an array of Type
objects that represent the exceptions declared to be thrown by this executable object. Returns an array of length 0 if the underlying executable declares no exceptions in its throws
clause.
If an exception type is a type variable or a parameterized type, it is created. Otherwise, it is resolved.
Java documentation for java.lang.reflect.Executable.getGenericExceptionTypes()
.
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.