ConnectionsException
@RequiresApi(value = 26) class ConnectionsException : CrossDeviceException
Exception for connections requests. Result
or ListenableFuture
returned from Participant.openConnection
or Participant.acceptConnection
may fail with this exception.
Summary
Nested types |
|
---|---|
ConnectionsException.ConnectionsErrorCode |
Public constructors |
|
---|---|
ConnectionsException( |
Public properties |
|
---|---|
open @ConnectionsException.ConnectionsErrorCode Int |
The error code associated with this exception. |
Inherited functions |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
ConnectionsException
ConnectionsException(
errorCode: @ConnectionsException.ConnectionsErrorCode Int,
message: String? = null,
cause: Throwable? = null
)
Public properties
errorCode
open val errorCode: @ConnectionsException.ConnectionsErrorCode Int
The error code associated with this exception. Refer to the concrete implementations for the possible error codes and their meanings.
See also | |
---|---|
ConnectionsException |
|
SessionException |