Commonize AssertionError(message, cause) constructor
This commit is contained in:
committed by
Space Team
parent
8e995e6c62
commit
c961c15729
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user