Throwable.GetSuppressed Method

Definition

Returns an array containing all of the exceptions that were suppressed, typically by the try-with-resources statement, in order to deliver this exception.

[Android.Runtime.Register("getSuppressed", "()[Ljava/lang/Throwable;", "")]
public Java.Lang.Throwable[] GetSuppressed ();
[<Android.Runtime.Register("getSuppressed", "()[Ljava/lang/Throwable;", "")>]
member this.GetSuppressed : unit -> Java.Lang.Throwable[]

Returns

Throwable[]

an array containing all of the exceptions that were suppressed to deliver this exception.

Attributes

Remarks

Java documentation for java.lang.Throwable.getSuppressed().

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