CrossDeviceException


Kotlin |Java

@RequiresApi(value = 26) abstract class CrossDeviceException : RuntimeException 

Known direct subclasses
ConnectionsException

Exception for connections requests.

SessionException

Exception for session requests.


Base exception type for Cross device APIs.

Summary

Public constructors

Public properties

abstract Int

The error code associated with this exception.

open String?

Inherited properties

From class kotlin.Throwable

Public constructors

CrossDeviceException

CrossDeviceException(message: String? = null, cause: Throwable? = null)

Public properties

errorCode

abstract val errorCode: Int 

The error code associated with this exception. Refer to the concrete implementations for the possible error codes and their meanings.

message

open val message: String?

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025年02月10日 UTC.