You can throw your own to catch if you need the stack, but it is the only way at this time.
try
raise new RuntimeException
catch ex as RuntimeException
// ex.Stack
end try
In general, if you need the stack for anything other than error reporting, your code design “suboptimal.” There was a relatively recent bump to a year old thread where I wasn’t the only expert to say this.