SessionException
@RequiresApi(value = 26) public final class SessionException extends CrossDeviceException
java.lang.Object | |||||
↳ | kotlin.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.google.ambient.crossdevice.CrossDeviceException | ||||
↳ | com.google.ambient.crossdevice.sessions.SessionException |
Exception for session requests. Result
or ListenableFuture
returned from APIs in Sessions
may fail with this exception.
Summary
Public fields |
|
---|---|
@SessionException.SessionErrorCode int |
The error code associated with this exception. |
Public constructors |
|
---|---|
SessionException( |
Inherited methods |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public fields
errorCode
public @SessionException.SessionErrorCode int errorCode
The error code associated with this exception. Refer to the concrete implementations for the possible error codes and their meanings.
See also | |
---|---|
ConnectionsException |
|
SessionException |
Public constructors
SessionException
public final SessionException(
@SessionException.SessionErrorCode int errorCode,
String message,
Throwable cause
)