Commonize AssertionError(message, cause) constructor

This commit is contained in:
Abduqodiri Qurbonzoda
2023-04-09 00:20:42 +03:00
committed by Space Team
parent 8e995e6c62
commit c961c15729
7 changed files with 9 additions and 5 deletions
@@ -81,7 +81,7 @@ public actual open class AssertionError : Error {
public constructor(message: String?) : super(message)
public actual constructor(message: Any?) : super(message?.toString(), message as? Throwable)
@SinceKotlin("1.4")
public constructor(message: String?, cause: Throwable?) : super(message, cause)
public actual constructor(message: String?, cause: Throwable?) : super(message, cause)
}
public actual open class NoSuchElementException : RuntimeException {