Class FilterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.castlabs.android.player.exceptions.CastlabsPlayerException
-
- com.castlabs.android.player.exceptions.FilterException
-
- All Implemented Interfaces:
Serializable
public class FilterException extends CastlabsPlayerException
Exception that is raised when all track types of a particular type (e.g.SdkConsts.VIDEO
,SdkConsts.AUDIO
,SdkConsts.TEXT
) are filtered out. The possible types of this exception are:CastlabsPlayerException.TYPE_VIDEO_UNSUPPORTED
,CastlabsPlayerException.TYPE_AUDIO_UNSUPPORTED
orCastlabsPlayerException.TYPE_TEXT_UNSUPPORTED
withCastlabsPlayerException.SEVERITY_WARNING
- Since:
- 4.0.8
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.castlabs.android.player.exceptions.CastlabsPlayerException
CastlabsPlayerException.Severity, CastlabsPlayerException.Type
-
-
Field Summary
Fields Modifier and Type Field Description int
reason
-
Fields inherited from class com.castlabs.android.player.exceptions.CastlabsPlayerException
CODE, HTTP_CODE, MSG_MANIFEST_LOADING_FAILED, MSG_VIDEO_DECODER_INITIALIZATION, SEVERITY, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARNING, TRACK_TYPE, TYPE_AD_ERROR, TYPE_AD_REQUEST_UNSUPPORTED, TYPE_API_MISMATCH, TYPE_AUDIO_DECODER_INITIALIZATION, TYPE_AUDIO_DECRYPTION_ERROR, TYPE_AUDIO_TRACK_INITIALIZATION, TYPE_AUDIO_UNSUPPORTED, TYPE_AUDIO_WRITE_ERROR, TYPE_BEHIND_LIVE_WINDOW, TYPE_CONNECTIVITY_GAINED_INFO, TYPE_CONNECTIVITY_LOST_ERROR, TYPE_CSL_LIMIT_REACHED, TYPE_CSL_NETWORK_ERROR, TYPE_DATA_DOWLOAD_ERROR, TYPE_DNS_SERVER_ERROR, TYPE_DOWNLOAD_ERROR, TYPE_DRM_EXCEPTION, TYPE_DRM_KEY_DOWNLOAD_ERROR, TYPE_DRM_PROVISION_ERROR, TYPE_DRMTODAY_EXCEPTION, TYPE_HDCP_CONNECTION_WARNING, TYPE_INVALID_PLAYER_LICENSE, TYPE_KEY_EXPIRED, TYPE_MANIFEST_LOADING_FAILED, TYPE_MANIFEST_PARSING_FAILED, TYPE_NO_PLAYABLE_CONTENT, TYPE_NO_RENDERER_FOUND, TYPE_PLAYBACK_ERROR, TYPE_SDK_INIT_ERROR, TYPE_SDK_NOT_INITIALIZED, TYPE_SECONDARY_DISPLAY, TYPE_TEXT_UNSUPPORTED, TYPE_TIME_OUT_ERROR, TYPE_UNKNOWN, TYPE_UNSUPPORTED_DRM, TYPE_USER_ID_NOT_PROVIDED, TYPE_VIDEO_DECODER_INITIALIZATION, TYPE_VIDEO_DECRYPTION_ERROR, TYPE_VIDEO_UNSUPPORTED, URL
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilterException
create(int mediaType, int reason, String message)
Create theFilterException
object-
Methods inherited from class com.castlabs.android.player.exceptions.CastlabsPlayerException
createError, createError, createFatal, createFatal, getCauseMessage, getErrorData, getInteger, getSeverity, getString, getType, log, toString, typeString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
create
@NonNull public static FilterException create(int mediaType, int reason, @Nullable String message)
Create theFilterException
object- Parameters:
mediaType
- the media typereason
- the filter reasonmessage
- the message or null- Returns:
- the
FilterException
object
-
-