Class MaxRouteLengthExceededException

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

public class MaxRouteLengthExceededException
extends ApiException
Indicates that the requested route is too long and cannot be processed.

This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions.

See Also:
Status Codes, Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    MaxRouteLengthExceededException​(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