java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | fi.moprim.tmd.sdk.model.TmdError |
Enum of the possible error
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TmdError | COULD_NOT_CONNECT_TO_THE_INTERNET | Triggered when the network operation was not successful | |||||||||
TmdError | JSON_PARSING_ERROR | Triggered when JSON object was not parsable | |||||||||
TmdError | TMD_CLOUD_COULD_NOT_READ_STREAM | Triggered when the I/O operation could not be achieved | |||||||||
TmdError | TMD_CLOUD_FETCH_TOO_LONG | Triggered when start/stop parameters include a two big gap. | |||||||||
TmdError | TMD_CLOUD_STATUS_CODE_NOT_OK | Triggered when the Cloud is not responsive or has internal error | |||||||||
TmdError | TMD_INVALID_PARAMETER | ||||||||||
TmdError | TMD_NETWORK_OPERATION_ON_MAIN_THREAD | Triggered when one starts a long lasting operation on the main thread | |||||||||
TmdError | TMD_NOT_INITIALIZED | Triggered if one starts the TMD service without a successful initialisation | |||||||||
TmdError | TMD_SDK_ENDPOINT_INVALID | The SDK endpoint is invalid, in this condition the SDK cannot operate | |||||||||
TmdError | TMD_SDK_KEY_INVALID | Triggered the SDK key is invalid | |||||||||
TmdError | UNKNOWN_ERROR | Triggered when an unknown error occurred |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static TmdError | valueOf(String name) | ||||||||||
final static TmdError[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Triggered when the network operation was not successful
Triggered when the I/O operation could not be achieved
Triggered when start/stop parameters include a two big gap. Current max 2 days
Triggered when the Cloud is not responsive or has internal error
Triggered when one starts a long lasting operation on the main thread
Triggered if one starts the TMD service without a successful initialisation
The SDK endpoint is invalid, in this condition the SDK cannot operate