Executable.GetExceptionTypes 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 Class
objects that represent the
types of exceptions declared to be thrown by the underlying
executable represented by this object.
[Android.Runtime.Register("getExceptionTypes", "()[Ljava/lang/Class;", "GetGetExceptionTypesHandler", ApiSince=26)]
public abstract Java.Lang.Class[] GetExceptionTypes ();
[<Android.Runtime.Register("getExceptionTypes", "()[Ljava/lang/Class;", "GetGetExceptionTypesHandler", ApiSince=26)>]
abstract member GetExceptionTypes : unit -> Java.Lang.Class[]
Returns
the exception types declared as being thrown by the executable this object represents
- Attributes
Remarks
Returns an array of Class
objects that represent the types of exceptions declared to be thrown by the underlying executable represented by this object. Returns an array of length 0 if the executable declares no exceptions in its throws
clause.
Java documentation for java.lang.reflect.Executable.getExceptionTypes()
.
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.