mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
优化
This commit is contained in:
parent
81d312d808
commit
d5a581f75b
@ -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>()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user