Package com.opentok.android
Class OpentokError
java.lang.Object
com.opentok.android.OpentokError
Defines errors thrown by the OpenTok Android SDK.
Check the values returned by getErrorCode()
and getMessage()
for details on the error.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Defines error domains values for OpentokError objects.static enum
Defines error code values for OpentokError objects. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OpentokError.ErrorCode
protected OpentokError.Domain
protected String
protected Exception
-
Constructor Summary
ConstructorsConstructorDescriptionOpentokError
(OpentokError.Domain errorDomain, int errorCode, Exception exception) Builds an OpentokError based on its domain, error code and message.OpentokError
(OpentokError.Domain errorDomain, int errorCode, String msg) Builds an OpentokError based on its domain, error code and message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the error code.Returns the error domain.
-
Field Details
-
errorDomain
-
errorCode
-
errorMessage
-
exception
-
-
Constructor Details
-
OpentokError
Builds an OpentokError based on its domain, error code and message. -
OpentokError
Builds an OpentokError based on its domain, error code and message.
-
-
Method Details
-
getErrorDomain
Returns the error domain. Values for the error domain are defined by theOpentokError.Domain
enum. -
getErrorCode
Returns the error code. Values for the error code are defined by theOpentokError.ErrorCode
enum.Call the
getMessage()
method to get more details on the error. -
getMessage
-
getException
-