|
@@ -6,8 +6,12 @@ package io.legado.app.exception
|
|
|
open class NoStackTraceException(msg: String) : Exception(msg) {
|
|
open class NoStackTraceException(msg: String) : Exception(msg) {
|
|
|
|
|
|
|
|
override fun fillInStackTrace(): Throwable {
|
|
override fun fillInStackTrace(): Throwable {
|
|
|
- stackTrace = emptyArray()
|
|
|
|
|
|
|
+ stackTrace = emptyStackTrace
|
|
|
return this
|
|
return this
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ companion object {
|
|
|
|
|
+ private val emptyStackTrace = emptyArray<StackTraceElement>()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|