Class ContentProtectionException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class ContentProtectionException
    extends THEOplayerException
                        

    A THEOplayer exception that gives an informative description of the content-protection error that occurred.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getUrl() The URL that was used in the request.
      int getStatus() The status code from the HTTP response.
      String getStatusText() A textual description regarding the status from the HTTP response.
      String getResponse() A textual representation of the body of the HTTP response.
      • Methods inherited from class com.theoplayer.android.api.error.THEOplayerException

        getCategory, getCode
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait