Exception | Description |
---|---|
ClientPropertiesException |
The ClientPropertiesException is thrown by the API when there is a problem
parsing the properties from the client or when the JSON file does not support
client side properties.
|
DataFileException |
The DataFileException is thrown if there is a problem loading the data file.
|
DataReadException |
The DataReadException is thrown if there is a problem loading the data from stream.
|
IncorrectPropertyTypeException |
The InvalidPropertyException is thrown by the Api class when there is an
attemp to fetch a property by type and the property is stored under a different type in the tree.
|
InvalidPropertyException |
The InvalidPropertyException is thrown by the Api class when there is an
attemp to fetch a property that is unknown for the supplied user agent.
|
InvalidPropertyNameException |
The InvalidPropertyNameException is thrown when an attempt is made to get a
property using a property name that does not exist.
|
JsonException |
The JsonException is thrown by the Json class or the Api class when there is an error parsing the Json.
|
MissingDataException |
The MissingDataException is thrown if a data file was not loaded before a call
to methods like getProperties(String ip) or getPropertyNames();
|
UnknownPropertyException |
The UnknownPropertyException is thrown by the Api class when there is an
attemp to fetch a property unknown to the tree.
|
Copyright © 2021 DeviceAtlas Limited. All rights reserved.