Package com.castlabs.android.drm

## Class CastlabsMediaDrm.CastlabsMediaDrmException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException

- All Implemented Interfaces:
    `Serializable`
  Enclosing class:
    CastlabsMediaDrm

      public static class CastlabsMediaDrm.CastlabsMediaDrmException
      extends Exception

  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static interface` | `CastlabsMediaDrm.CastlabsMediaDrmException.Type` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `OPEN_SESSION_FAILED` |
    `int` | `type` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CastlabsMediaDrmException​(int type, Throwable cause)` |

  - ### Method Summary

    - ### 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 Detail

    - #### OPEN_SESSION_FAILED

          public static final int OPEN_SESSION_FAILED

      See Also:
        Constant Field Values

    - #### type

          @NonNull
          public final int type

  - ### Constructor Detail

    - #### CastlabsMediaDrmException

          public CastlabsMediaDrmException​(int type,
                                           @Nullable
                                           Throwable cause)