EndDate

class EndDate(val instant: Instant?) : BlockReasonException

Represents an exception thrown when a Chapter is blocked due to reaching its end date. This corresponds to BlockReason.ENDDATE.

Constructors

Link copied to clipboard
constructor(instant: Instant?)

Properties

Link copied to clipboard

The Instant when the content became unavailable. This can be null if the start date is not known.

Link copied to clipboard
open override val messageResId: Int

An Android resource id pointing to a localized string describing the block reason.

Inherited properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val localizedMessage: String?
Link copied to clipboard
open val message: String?
Link copied to clipboard
open override var stackTrace: Array<out StackTraceElement?>?
Link copied to clipboard
override val suppressed: Array<out Throwable?>?