AssertionError

expect open class AssertionError : Error(source)

Since Kotlin

1.2
actual typealias AssertionError = AssertionError

Since Kotlin

1.1
actual open class AssertionError constructor(val message: String?, val cause: Throwable?) : Error(source)

Since Kotlin

1.1
actual open class AssertionError : Error(source)

Since Kotlin

1.3

Constructors

Link copied to clipboard
fun AssertionError(message: String?)
Link copied to clipboard
fun AssertionError(message: String?, cause: Throwable?)
fun AssertionError(message: String?, cause: Throwable?)
Link copied to clipboard
Link copied to clipboard
expect fun AssertionError()
actual fun AssertionError()
actual fun AssertionError()
Link copied to clipboard
expect fun AssertionError(message: Any?)
actual fun AssertionError(message: Any?)
actual fun AssertionError(message: Any?)

Properties

Link copied to clipboard
open val cause: Throwable?
Since Kotlin 1.2
open val cause: Throwable?
Since Kotlin 1.1
open val cause: Throwable?
Since Kotlin 1.3
Link copied to clipboard
open val message: String?
Since Kotlin 1.2
open val message: String?
Since Kotlin 1.1
open val message: String?
Since Kotlin 1.3

Extensions

Link copied to clipboard

Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.

Since Kotlin 1.3
Link copied to clipboard

Prints the detailed description of this throwable to the specified writer.

Since Kotlin 1.0

Prints the detailed description of this throwable to the specified stream.

Since Kotlin 1.0
Link copied to clipboard

Returns an array of stack trace elements representing the stack trace pertaining to this throwable.

Since Kotlin 1.0