java.lang.Object |
↳ |
java.lang.Throwable |
|
↳ |
java.lang.Exception |
|
|
↳ |
java.lang.RuntimeException |
|
|
|
↳ |
com.amazonaws.ivs.player.PlayerException |
Class Overview
Represents an error that occurred during media playback. The exception has additional properties
that can uniquely identify the exception.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Throwable
synchronized
final
void
|
addSuppressed(Throwable arg0)
|
synchronized
Throwable
|
fillInStackTrace()
|
synchronized
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
final
Throwable[]
|
getSuppressed()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
int
getCode
()
Returns
- A code representing the specific error condition. The code values depend on the
source and result types. For example, if
getSource()
is "Segment", the result is
ERROR_NETWORK
, and the code value is 400, this indicates that an HTTP 400
error occurred while trying to download a video segment.
public
String
getErrorMessage
()
Returns
- A message describing the error. This differs from
getMessage()
in that
this contains only the error text and not any source or code value.
public
ErrorType
getErrorType
()
Returns
- The result code for the error.
public
String
getSource
()
Returns
- The source component within the player that generated the error.