Package com.castlabs.android.player.exceptions

# Class BlocklistException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.castlabs.android.player.exceptions.BlocklistException

All Implemented Interfaces:
  `Serializable`

public class BlocklistException extends Exception

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final long`
  `durationMs`
  `final com.google.android.exoplayer2.Format`
  `format`
  `final int`
  `reason`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static BlocklistException`
  `create(int reason, String message, com.google.android.exoplayer2.Format format, long durationMs)`
  `String`
  `reasonString()`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### reason

    public final int reason

  - ### format

    @NonNull public final com.google.android.exoplayer2.Format format

  - ### durationMs

    public final long durationMs

- ## Method Details

  - ### create

    @NonNull public static BlocklistException create(int reason, @NonNull String message, @NonNull com.google.android.exoplayer2.Format format, long durationMs)

  - ### reasonString

    @NonNull public String reasonString()