Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited methods |
From class
java.lang.Throwable
final
void
|
addSuppressed(Throwable arg0)
|
Throwable
|
fillInStackTrace()
|
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
final
Throwable[]
|
getSuppressed()
|
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
CarNotConnectedException
public CarNotConnectedException ()
This constructor is deprecated.
Do not use in new code.
CarNotConnectedException
public CarNotConnectedException (Exception cause)
This constructor is deprecated.
Do not use in new code.
Parameters |
cause |
Exception |
CarNotConnectedException
public CarNotConnectedException (String name)
This constructor is deprecated.
Do not use in new code.
CarNotConnectedException
public CarNotConnectedException (String name,
Throwable cause)
This constructor is deprecated.
Do not use in new code.
Parameters |
name |
String |
cause |
Throwable |
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-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-17 UTC."],[],[],null,["# CarNotConnectedException\n\nDeprecated in [API level\n29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Ctors](#pubctors) \\| [Inherited Methods](#inhmethods) \n\nCarNotConnectedException\n========================\n\n\n`\npublic\n\n\nclass\nCarNotConnectedException\n`\n\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\nextends RuntimeException\n\n\n`\n\n`\n\n\n`\n\n|---|---|---|---|--------------------------------------|\n| java.lang.Object |||||\n| ↳ | java.lang.Throwable ||||\n| | ↳ | java.lang.Exception |||\n| | | ↳ | java.lang.RuntimeException ||\n| | | | ↳ | android.car.CarNotConnectedException |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This class was deprecated\nin API level 29.** \n\nNo longer thrown by the Android API. Do not use in new code.\n\nException thrown when car is not connected for the API which requires car connection.\n\nSummary\n-------\n\n| ### Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[CarNotConnectedException](/reference/android/car/CarNotConnectedException#CarNotConnectedException())`() ` *This constructor is deprecated. Do not use in new code.* |\n| ` `[CarNotConnectedException](/reference/android/car/CarNotConnectedException#CarNotConnectedException(java.lang.Exception))`(Exception cause) ` *This constructor is deprecated. Do not use in new code.* |\n| ` `[CarNotConnectedException](/reference/android/car/CarNotConnectedException#CarNotConnectedException(java.lang.String))`(String name) ` *This constructor is deprecated. Do not use in new code.* |\n| ` `[CarNotConnectedException](/reference/android/car/CarNotConnectedException#CarNotConnectedException(java.lang.String,%20java.lang.Throwable))`(String name, Throwable cause) ` *This constructor is deprecated. Do not use in new code.* |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Throwable ` |------------------------|---------------------------------------------| | ` final void` | ` addSuppressed(Throwable arg0) ` | | ` Throwable` | ` fillInStackTrace() ` | | ` Throwable` | ` getCause() ` | | ` String` | ` getLocalizedMessage() ` | | ` String` | ` getMessage() ` | | ` StackTraceElement[]` | ` getStackTrace() ` | | ` final Throwable[]` | ` getSuppressed() ` | | ` Throwable` | ` initCause(Throwable arg0) ` | | ` void` | ` printStackTrace() ` | | ` void` | ` printStackTrace(PrintWriter arg0) ` | | ` void` | ` printStackTrace(PrintStream arg0) ` | | ` void` | ` setStackTrace(StackTraceElement[] arg0) ` | ||\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic constructors\n-------------------\n\n### CarNotConnectedException\n\n```\npublic CarNotConnectedException ()\n```\n\n\n**This constructor is deprecated.** \n\nDo not use in new code.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### CarNotConnectedException\n\n```\npublic CarNotConnectedException (Exception cause)\n```\n\n\n**This constructor is deprecated.** \n\nDo not use in new code.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|--------------------|\n| `cause` | `Exception` \u003cbr /\u003e |\n\n### CarNotConnectedException\n\n```\npublic CarNotConnectedException (String name)\n```\n\n\n**This constructor is deprecated.** \n\nDo not use in new code.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|-----------------|\n| `name` | `String` \u003cbr /\u003e |\n\n### CarNotConnectedException\n\n```\npublic CarNotConnectedException (String name, \n Throwable cause)\n```\n\n\n**This constructor is deprecated.** \n\nDo not use in new code.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|--------------------|\n| `name` | `String` \u003cbr /\u003e |\n| `cause` | `Throwable` \u003cbr /\u003e |"]]