Model of a component's Client-side rule in the trie.
More...
|
const int | BAD_DATA = 100 |
| The data stored in the JSON cannot be used to build a valid DeviceAtlas data tree. More...
|
|
const int | JSON_VERSION = 200 |
| The JSON data you are using is too old for this API. Download a more recent version of the data. More...
|
|
const int | FILE_NOT_FOUND_ERROR = 300 |
| The path to the JSON file that was given cannot be resolved. Ensure you have supplied the correct path. Use an absolute pathname where you are unsure of the current working directory. More...
|
|
const int | NO_CLIENT_PROPERTIES_SECTION = 400 |
| The JSON file does not contain the Client Properties Section. Ensure you have a valid JSON file. More...
|
|
|
virtual System.Exception | Cause [get] |
| Retrieves the throwable, which determines the nature/cause of the exception. More...
|
|
virtual int | Code [get] |
| Retrieves the exception code, which determines the nature/cause of the exception. More...
|
|
Model of a component's Client-side rule in the trie.
- Author
- DeviceAtlas Limited
◆ JsonException() [1/2]
Com.DeviceAtlas.Exception.JsonException.JsonException |
( |
int |
code, |
|
|
string |
message |
|
) |
| |
|
inline |
Constructs a JsonException instance with a code and human-readable message.
- Parameters
-
code | This should be a constant from this exception class. |
message | Diagnostic message intended for human reading. |
◆ JsonException() [2/2]
Com.DeviceAtlas.Exception.JsonException.JsonException |
( |
int |
code, |
|
|
string |
message, |
|
|
System.Exception |
cause |
|
) |
| |
|
inline |
Constructs a JsonException instance with a code and human-readable message.
- Parameters
-
code | This should be a constant from this exception class. |
message | Diagnostic message intended for human reading. |
◆ BAD_DATA
const int Com.DeviceAtlas.Exception.JsonException.BAD_DATA = 100 |
The data stored in the JSON cannot be used to build a valid DeviceAtlas data tree.
◆ FILE_NOT_FOUND_ERROR
const int Com.DeviceAtlas.Exception.JsonException.FILE_NOT_FOUND_ERROR = 300 |
The path to the JSON file that was given cannot be resolved. Ensure you have supplied the correct path. Use an absolute pathname where you are unsure of the current working directory.
◆ JSON_VERSION
const int Com.DeviceAtlas.Exception.JsonException.JSON_VERSION = 200 |
The JSON data you are using is too old for this API. Download a more recent version of the data.
◆ NO_CLIENT_PROPERTIES_SECTION
const int Com.DeviceAtlas.Exception.JsonException.NO_CLIENT_PROPERTIES_SECTION = 400 |
The JSON file does not contain the Client Properties Section. Ensure you have a valid JSON file.
◆ Cause
virtual System.Exception Com.DeviceAtlas.Exception.JsonException.Cause |
|
get |
Retrieves the throwable, which determines the nature/cause of the exception.
- Returns
- Explanatory code.
◆ Code
virtual int Com.DeviceAtlas.Exception.JsonException.Code |
|
get |
Retrieves the exception code, which determines the nature/cause of the exception.
- Returns
- Explanatory code.
The documentation for this class was generated from the following file:
- Src/API/Com/DeviceAtlas/Exception/JsonException.cs