public enum UbiErrorCode extends Enum<UbiErrorCode>
Enum Constant and Description |
---|
ACTIVATION_FINALLY_FAILED_ON_DONGLE
The activation failed finally on the dongle for no apparent reason.
|
API_KEY_MISSING_OR_INVALID
API key missing or invalid (id = 27).
|
CLOCK_SYNC_REASON_MISSING
The reason for the synchronisation of the clock is missing.
|
CONNECTION_FINALLY_FAILED_AUTHENTICATION_FAILURE
Sent when the connection finally failed due to an authentication error.
|
CONNECTION_FINALLY_FAILED_TIMEOUT_OR_OTHER_REASON
Sent when the connection finally failed.
|
CORE_ALREADY_BOOTED
This error is returned in case the
ClientProtocolDefinition.CoreBoot message is sent after the core has successfully booted. |
CORE_ALREADY_BOOTING
This error is returned in case the
ClientProtocolDefinition.CoreBoot message was sent a second time or more and the Core is still in the boot process. |
CORE_BOOT_REQUIRED
An message different from
ClientProtocolDefinition.CoreBoot has been sent after the Core has finished its initialization phase. |
CORE_IN_INITIALIZATION
ClientProtocolDefinition.CoreBoot has been sent but the core is still in its initialization phase. |
CORE_SHUTDOWN
The core has been shutdown.
|
CUSTOMER_ACTIVATION_KEY_MISSING
Deprecated.
not thrown anymore
|
DONGLE_BT_ADDRESS_MISSING
The bluetooth device pointing to the dongle is missing when connecting to the core.
|
DOWNLOAD_NOT_POSSIBLE_CLOCK_SYNC_FAILED
The clock sync that is mandatory before downloading driving data from dongle with a connection established to both endpoints
failed.
|
DOWNLOAD_NOT_POSSIBLE_CLOCK_SYNC_VIA_DUAL_CONNECTION_REQUIRED
Downloading the data from the dongle is not possible as the dongle was disconnected in the meantime
and a synchronisation of the clock is not possible due to missing connection to WEBFLEET and dongle at the same time.
|
ERROR_IN_TEST_DONGLE_SERVER |
ERROR_IN_TEST_WFM_SERVER |
GCM_DATA_MISSING
Missing GCM data (sender ID or token) when sending GCM token to WEBFLEET backend.
|
GENERAL_ERROR_IN_CORE
This error is returned when an unexpected error occurred.
|
NO_MESSAGE_HANDLER_DEFINED_FOR_ID
An inbound message could not be processed as no handler for processing it has been defined.
|
ODOMETER_MISSING_OR_MALFORMED
The odometer is missing or malformed.
|
PASSWORD_MISSING_OR_MALFORMED
The password is missing or malformed.
|
UPDATE_FIRMWARE_NOT_POSSIBLE_FIRMWARE_FILE_ID_MISSING
The announced firmware update couldn't be executed since the firmware file is not existing on the server.
|
USER_INITIATED_CLOCK_SYNC_FAILED
The clock sync initiated by the user failed (for device setup for instance).
|
USERNAME_MISSING_OR_MALFORMED
The user name is missing or malformed.
|
WAKEUP_VIA_DONGLE_FAILED_BT_ADDRESS_DIFFERS
Waking up via dongle BT connection failed since the Bluetooth address which initiated the connection is not the one the
current user has used to activate the dongle.
|
WAKEUP_VIA_DONGLE_FAILED_NOT_YET_ACTIVATED
Waking up via dongle BT connection failed since the dongle was not activated before.
|
WEBFLEET_CONNECT_SERVER_HOST_NAME_MISSING_OR_INVALID
The host name of the WEBFLEET.connect server is missing.
|
WEBFLEET_MESSAGING_SERVER_HOST_NAME_MISSING_OR_INVALID
The host name of the WEBFLEET messaging server is missing.
|
WEBFLEET_MESSAGING_SERVER_PORT_MISSING_OR_INVALID
The port of the WEBFLEET messaging server is missing.
|
Modifier and Type | Field and Description |
---|---|
int |
errorCode |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
String |
toString() |
static UbiErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UbiErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UbiErrorCode GENERAL_ERROR_IN_CORE
public static final UbiErrorCode ERROR_IN_TEST_WFM_SERVER
public static final UbiErrorCode ERROR_IN_TEST_DONGLE_SERVER
public static final UbiErrorCode NO_MESSAGE_HANDLER_DEFINED_FOR_ID
public static final UbiErrorCode USERNAME_MISSING_OR_MALFORMED
ClientProtocolDefinition.CoreBoot.USER_NAME
or CoreBootParameter
for constraints. (id = 4)public static final UbiErrorCode PASSWORD_MISSING_OR_MALFORMED
ClientProtocolDefinition.CoreBoot.PASSWORD
or CoreBootParameter
for constraints. (id = 5)public static final UbiErrorCode DONGLE_BT_ADDRESS_MISSING
public static final UbiErrorCode CORE_IN_INITIALIZATION
ClientProtocolDefinition.CoreBoot
has been sent but the core is still in its initialization phase. (id = 8)public static final UbiErrorCode CORE_SHUTDOWN
public static final UbiErrorCode CLOCK_SYNC_REASON_MISSING
public static final UbiErrorCode DOWNLOAD_NOT_POSSIBLE_CLOCK_SYNC_VIA_DUAL_CONNECTION_REQUIRED
public static final UbiErrorCode DOWNLOAD_NOT_POSSIBLE_CLOCK_SYNC_FAILED
public static final UbiErrorCode UPDATE_FIRMWARE_NOT_POSSIBLE_FIRMWARE_FILE_ID_MISSING
public static final UbiErrorCode ACTIVATION_FINALLY_FAILED_ON_DONGLE
ClientProtocolDefinition.CoreBoot
or
ServiceClient.bootCore(CoreBootParameter)
with valid parameters. (id = 16)public static final UbiErrorCode CONNECTION_FINALLY_FAILED_TIMEOUT_OR_OTHER_REASON
public static final UbiErrorCode CONNECTION_FINALLY_FAILED_AUTHENTICATION_FAILURE
public static final UbiErrorCode API_KEY_MISSING_OR_INVALID
ClientProtocolDefinition.CoreBoot.API_KEY
for constraints.public static final UbiErrorCode ODOMETER_MISSING_OR_MALFORMED
ClientProtocolDefinition.OdometerChangeRequest.ODOMETER
for constraints. (id = 28)public static final UbiErrorCode CORE_ALREADY_BOOTED
ClientProtocolDefinition.CoreBoot
message is sent after the core has successfully booted. (id = 29)public static final UbiErrorCode USER_INITIATED_CLOCK_SYNC_FAILED
public static final UbiErrorCode CUSTOMER_ACTIVATION_KEY_MISSING
public static final UbiErrorCode WAKEUP_VIA_DONGLE_FAILED_NOT_YET_ACTIVATED
public static final UbiErrorCode WAKEUP_VIA_DONGLE_FAILED_BT_ADDRESS_DIFFERS
public static final UbiErrorCode WEBFLEET_MESSAGING_SERVER_HOST_NAME_MISSING_OR_INVALID
public static final UbiErrorCode WEBFLEET_MESSAGING_SERVER_PORT_MISSING_OR_INVALID
public static final UbiErrorCode WEBFLEET_CONNECT_SERVER_HOST_NAME_MISSING_OR_INVALID
public static final UbiErrorCode CORE_BOOT_REQUIRED
ClientProtocolDefinition.CoreBoot
has been sent after the Core has finished its initialization phase. (id = 37)public static final UbiErrorCode CORE_ALREADY_BOOTING
ClientProtocolDefinition.CoreBoot
message was sent a second time or more and the Core is still in the boot process. (id = 38)public static final UbiErrorCode GCM_DATA_MISSING
public static UbiErrorCode[] values()
for (UbiErrorCode c : UbiErrorCode.values()) System.out.println(c);
public static UbiErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public String toString()
toString
in class Enum<UbiErrorCode>