# Serialized Form

- ## Package com.castlabs.android.downloader

  - ### Exception Class com.castlabs.android.downloader.ZipDataSource.ZipDataSourceException

    class ZipDataSourceException extends IOException implements Serializable

- ## Package com.castlabs.android.drm

  - ### Exception Class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException

    class CastlabsMediaDrmException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### type

            int type

  - ### Exception Class com.castlabs.android.drm.DrmException

    class DrmException extends DrmTodayException implements Serializable

  - ### Exception Class com.castlabs.android.drm.DrmTodayException

    class DrmTodayException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### customCode

            String customCode

        Original DrmToday response code string

      - ##### customMessage

            String customMessage

        Custom message that is extracted from the CRT message in the error response

      - ##### errorCode

            int errorCode

        The error errorCode

  - ### Exception Class com.castlabs.android.drm.DrmUtils.HttpExecutorException

    class HttpExecutorException extends IOException implements Serializable

    - #### Serialized Fields

      - ##### cause

            Throwable cause

      - ##### responseBody

            String responseBody

      - ##### responseCode

            int responseCode

      - ##### responseHeaders

            Map<String,List<String>> responseHeaders

  - ### Exception Class com.castlabs.android.drm.ProvisioningManager.ProvisionException

    class ProvisionException extends Exception implements Serializable

- ## Package com.castlabs.android.network

  - ### Exception Class com.castlabs.android.network.ConnectivityRegainedException

    class ConnectivityRegainedException extends IOException implements Serializable

- ## Package com.castlabs.android.player.exceptions

  - ### Exception Class com.castlabs.android.player.exceptions.BlocklistException

    class BlocklistException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### durationMs

            long durationMs

      - ##### format

            com.google.android.exoplayer2.Format format

      - ##### reason

            int reason

  - ### Exception Class com.castlabs.android.player.exceptions.CastlabsPlayerException

    class CastlabsPlayerException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### errorData

            Bundle errorData

      - ##### explicitCauseMessage

            String explicitCauseMessage

      - ##### severity

            int severity

      - ##### type

            int type

  - ### Exception Class com.castlabs.android.player.exceptions.DownloadException

    class DownloadException extends IOException implements Serializable

    - #### Serialized Fields

      - ##### customMessage

            String customMessage

      - ##### responseBody

            byte[] responseBody

      - ##### statusCode

            int statusCode

      - ##### trackType

            int trackType

      - ##### uri

            Uri uri

  - ### Exception Class com.castlabs.android.player.exceptions.FilterException

    class FilterException extends CastlabsPlayerException implements Serializable

    - #### Serialized Fields

      - ##### reason

            int reason

        Bit-set of `SdkConsts.FILTER_REASON_BLACKLISTED`, `SdkConsts.FILTER_REASON_NO_CODEC`, `SdkConsts.FILTER_REASON_HD_NOT_PERMITTED` and `SdkConsts.FILTER_REASON_EXCEED_MAX_PIXELS`

  - ### Exception Class com.castlabs.android.player.exceptions.ParameterNotSetException

    class ParameterNotSetException extends Exception implements Serializable

  - ### Exception Class com.castlabs.android.player.exceptions.TunnelingException

    class TunnelingException extends Exception implements Serializable

    - #### Serialized Fields

      - ##### reason

            TunnelingException.Reason reason