Sets the stack trace elements that will be returned by
getStackTrace() and printed by
and related methods.
This method, which is designed for use by RPC frameworks and other
advanced systems, allows the client to override the default
stack trace that is either generated by
when a throwable is constructed or deserialized when a throwable is
read from a serialization stream.
If the stack trace of this
Throwable is not, calling this method has no effect other than
validating its argument.
| the stack trace elements to be associated with
| if |