[K/N] Hide AssertionError(cause: Throwable?) constructor
To align Native AssertionError behavior with JVM. As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
0c89224955
commit
be87b6950c
@@ -124,9 +124,10 @@ public actual open class AssertionError : Error {
|
||||
|
||||
actual constructor()
|
||||
|
||||
@Deprecated("Provided for binary compatibility", level = DeprecationLevel.HIDDEN)
|
||||
constructor(cause: Throwable?) : super(cause)
|
||||
|
||||
actual constructor(message: Any?) : super(message?.toString())
|
||||
actual constructor(message: Any?) : super(message?.toString(), message as? Throwable)
|
||||
|
||||
constructor(message: String?, cause: Throwable?) : super(message, cause)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user