{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ParcelableFailure

class ParcelableFailure


Parcelable imitation of a JUnit Failure

Summary

Constants

Creator<ParcelableFailure>

Public constructors

ParcelableFailure(failure: Failure)

Public functions

Int
ParcelableDescription
String
Unit
writeToParcel(out: Parcel, flags: Int)

Constants

CREATOR

val CREATOR: Creator<ParcelableFailure>

Public constructors

ParcelableFailure

ParcelableFailure(failure: Failure)

ParcelableFailure

ParcelableFailure(description: ParcelableDescription, t: Throwable)

ParcelableFailure

ParcelableFailure(description: ParcelableDescription, message: String)

Public functions

describeContents

fun describeContents(): Int

getDescription

fun getDescription(): ParcelableDescription

getTrace

fun getTrace(): String

writeToParcel

fun writeToParcel(out: Parcel, flags: Int): Unit