Class 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
    • Method Summary

      • 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 Detail

      • MaxRouteLengthExceededException

        public MaxRouteLengthExceededException​(java.lang.String errorMessage)