Stay organized with collections
Save and categorize content based on your preferences.
PropertyNotAvailableException
public
class
PropertyNotAvailableException
extends IllegalStateException
java.lang.Object
|
↳ |
java.lang.Throwable
|
|
↳ |
java.lang.Exception
|
|
|
↳ |
java.lang.RuntimeException
|
|
|
|
↳ |
java.lang.IllegalStateException
|
|
|
|
|
↳ |
android.car.hardware.property.PropertyNotAvailableException
|
Exception thrown when the vehicle property is not available because of the current state of the
vehicle.
For example, VehiclePropertyIds.HVAC_FAN_SPEED
is unavailable because
VehiclePropertyIds.HVAC_POWER_ON
is false
.
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 methods
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,["# PropertyNotAvailableException\n\nSummary: [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nPropertyNotAvailableException\n=============================\n\n\n`\npublic\n\n\nclass\nPropertyNotAvailableException\n`\n\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\nextends IllegalStateException\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| | | | ↳ | java.lang.IllegalStateException ||\n| | | | | ↳ | android.car.hardware.property.PropertyNotAvailableException |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nException thrown when the vehicle property is not available because of the current state of the\nvehicle.\n\nFor example, [VehiclePropertyIds.HVAC_FAN_SPEED](/reference/android/car/VehiclePropertyIds#HVAC_FAN_SPEED) is unavailable because\n[VehiclePropertyIds.HVAC_POWER_ON](/reference/android/car/VehiclePropertyIds#HVAC_POWER_ON) is `false`.\n\nSummary\n-------\n\n| ### Public methods ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` int` | ` `[getDetailedErrorCode](/reference/android/car/hardware/property/PropertyNotAvailableException#getDetailedErrorCode())`() ` [PropertyNotAvailableErrorCode](/reference/android/car/hardware/property/PropertyNotAvailableErrorCode) provides more detailed information on why the vehicle property is not available. |\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 methods\n--------------\n\n### getDetailedErrorCode\n\n```\npublic int getDetailedErrorCode ()\n```\n\n[PropertyNotAvailableErrorCode](/reference/android/car/hardware/property/PropertyNotAvailableErrorCode) provides more detailed information on why the vehicle\nproperty is not available. These must be a value defined in\n[PropertyNotAvailableErrorCode](/reference/android/car/hardware/property/PropertyNotAvailableErrorCode). The values in [PropertyNotAvailableErrorCode](/reference/android/car/hardware/property/PropertyNotAvailableErrorCode)\nmay be extended in the future to include additional error codes.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |"]]