Class ZeroResultsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ai.nextbillion.maps.errors.ApiException
ai.nextbillion.maps.errors.ZeroResultsException
All Implemented Interfaces:
java.io.Serializable

public class ZeroResultsException
extends ApiException
Indicates that no results were returned.

In some cases, this will be treated as a success state and you will only see an empty array. For time zone data, it means that no time zone information could be found for the specified position or time. Confirm that the request is for a location on land, and not over water.

See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    ZeroResultsException​(java.lang.String errorMessage)  
  • Method Summary

    Methods inherited from class ai.nextbillion.maps.errors.ApiException

    from

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details