Package com.castlabs.android.player
Class ErrorMediaSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.castlabs.android.player.ErrorMediaSourceException
- All Implemented Interfaces:
Serializable
IOException wrapper that preserves the original CastlabsPlayerException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionErrorMediaSourceException(CastlabsPlayerException playerException) Creates a new wrapper for the given SDK error. -
Method Summary
Modifier and TypeMethodDescriptionReturns the original SDK error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrorMediaSourceException
Creates a new wrapper for the given SDK error.- Parameters:
playerException- The original SDK error.
-
-
Method Details
-
getPlayerException
Returns the original SDK error.- Returns:
- The original
CastlabsPlayerException.
-