Package com.theoplayer.android.api.error
Class THEOplayerException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class THEOplayerException extends Exception
A THEOplayer exception that gives an informative description of the error that occurred.
-
-
Constructor Summary
Constructors Constructor Description THEOplayerException(ErrorCode code, String message, Throwable cause)
Constructs an exception that can be thrown by the player. THEOplayerException(ErrorCode code, String message)
Constructs an exception that can be thrown by the player.
-
Method Summary
Modifier and Type Method Description final ErrorCategory
getCategory()
The ErrorCategory of the error. final ErrorCode
getCode()
The ErrorCode of the exception. -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCategory
final ErrorCategory getCategory()
The ErrorCategory of the error.
- Returns:
The ErrorCategory. (NonNull)
-
-
-
-