Google 致力于为黑人社区推动种族平等。查看具体举措
Added in API level 29
Deprecated in API level 29

CarNotConnectedException

public class CarNotConnectedException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.car.CarNotConnectedException


This class was deprecated in API level 29.
No longer thrown by the Android API. Do not use in new code.

Exception thrown when car is not connected for the API which requires car connection.

Summary

Public constructors

CarNotConnectedException()

This constructor is deprecated. Do not use in new code.

CarNotConnectedException(String name)

This constructor is deprecated. Do not use in new code.

CarNotConnectedException(String name, Throwable cause)

This constructor is deprecated. Do not use in new code.

CarNotConnectedException(Exception cause)

This constructor is deprecated. Do not use in new code.

Inherited methods

Public constructors

CarNotConnectedException

Added in API level 29
public CarNotConnectedException ()

This constructor is deprecated.
Do not use in new code.

CarNotConnectedException

Added in API level 29
public CarNotConnectedException (String name)

This constructor is deprecated.
Do not use in new code.

Parameters
name String

CarNotConnectedException

Added in API level 29
public CarNotConnectedException (String name, 
                Throwable cause)

This constructor is deprecated.
Do not use in new code.

Parameters
name String

cause Throwable

CarNotConnectedException

Added in API level 29
public CarNotConnectedException (Exception cause)

This constructor is deprecated.
Do not use in new code.

Parameters
cause Exception