JavaException.SetJavaStackTrace(JniObjectReference) 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.
Refreshes the captured Java stack trace from a throwable.
protected void SetJavaStackTrace(Java.Interop.JniObjectReference peerReferenceOverride = default);
member this.SetJavaStackTrace : Java.Interop.JniObjectReference -> unit
Parameters
- peerReferenceOverride
- JniObjectReference
The throwable to inspect, or an invalid reference to use this peer's reference.
Remarks
If neither reference is valid, the existing JavaStackTrace value is left unchanged.