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
@@ -78,6 +78,9 @@ public expect open class ClassCastException : RuntimeException {
public expect open class AssertionError : Error {
constructor()
constructor(message: Any?)
@SinceKotlin("1.9")
constructor(message: String?, cause: Throwable?)
}
public expect open class NoSuchElementException : RuntimeException {