Package com.deviceatlas.exception


package com.deviceatlas.exception
Common exceptions for DeviceAtlas APIs.
  • Exceptions
    Class
    Description
    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.
    The DataLoadException is thrown if there is a problem loading the data file.
    The unchecked IncorrectPropertyTypeException is thrown by the Api class when there is an attempt to fetch a property by type and the property is stored under a different type in the tree.
    The InvalidPropertyNameException is thrown when an attempt is made to get a property using a property name that does not exist.
    The JsonException is thrown by the DetectionData class or the Api class when there is an error parsing the Json.
    The MissingDataException is thrown if a data file was not loaded before a call to methods like getProperties(String ip) or getPropertyNames();