groostav
12/10/2024, 9:32 AMclass MyCustomException(val trace: List<StackTraceElement>): Exception(){
init {
stackTrace = trace.toTypedArray()
}
override fun fillInStackTrace() = this //interrupt call to dump back-trace into stack-trace
}
?John Smith
12/10/2024, 9:48 AMgroostav
12/10/2024, 9:57 AMgroostav
12/10/2024, 9:57 AMfillInStackTrace
myselfJohn Smith
12/10/2024, 10:12 AMhho
12/10/2024, 12:51 PM