StartDate

class StartDate(val instant: Instant?) : BlockReasonException

Represents an exception thrown when a Chapter is blocked due to its start date being in the future. This corresponds to BlockReason.STARTDATE.

Constructors

Link copied to clipboard
constructor(instant: Instant?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val instant: Instant?

The Instant when the content will become available. This can be null if the start date is not known.

Link copied to clipboard
open override val localizedMessage: String?
Link copied to clipboard
open val message: String?
Link copied to clipboard
open override val messageResId: Int

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

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