\DeviceAtlas\ExceptionJsonException

The JsonException is thrown by the DetectionData class or the Api class when there is an error parsing the Json.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
BAD_DATA
JSON_VERSION
FILE_NOT_FOUND_ERROR
NO_CLIENT_PROPERTIES_SECTION
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

BAD_DATA

BAD_DATA = 100

The data stored in the JSON cannot be used to build a valid DeviceAtlas data tree.

JSON_VERSION

JSON_VERSION = 200

The JSON data you are using is too old for this API.

Download a more recent version of the data.

FILE_NOT_FOUND_ERROR

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.

NO_CLIENT_PROPERTIES_SECTION

NO_CLIENT_PROPERTIES_SECTION = 400

The JSON file does not contain the Client Properties Section.

Ensure you have a valid JSON file.