{% 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

const Creator<ParcelableFailure>!

Public constructors

ParcelableFailure(failure: Failure!)
ParcelableFailure(description: ParcelableDescription!, message: String!)

Public functions

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

Constants

CREATOR

const 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