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
Public methods | |
|---|---|
int
|
getDetailedErrorCode()
|
Inherited methods | |
|---|---|
Public methods
getDetailedErrorCode
public int getDetailedErrorCode ()
PropertyNotAvailableErrorCode provides more detailed information on why the vehicle
property is not available. These must be a value defined in
PropertyNotAvailableErrorCode. The values in PropertyNotAvailableErrorCode
may be extended in the future to include additional error codes.
| Returns | |
|---|---|
int |
|