change common exception
This commit is contained in:
parent
1e5cc224eb
commit
0677782b2e
|
|
@ -1,3 +1,6 @@
|
|||
package ru.touchin.common.exceptions
|
||||
|
||||
open class CommonException(description: String?) : RuntimeException(description.orEmpty())
|
||||
open class CommonException(
|
||||
description: String?,
|
||||
exception: Throwable? = null
|
||||
) : RuntimeException(description.orEmpty(), exception)
|
||||
|
|
|
|||
Loading…
Reference in New Issue