Class ExternalRoutingRequestException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExternalRoutingRequestException
    extends ExternalRoutingException
    An error has occurred during the attempt to start a routing request.
    Since:
    11.29
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getWaitTime()  
      ExternalRoutingRequestException setWaitTime​(long waitTime)
      The method allows to set a wait time to wait before retrying the routing request for the specific routing item again.
      • 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

      • ExternalRoutingRequestException

        public ExternalRoutingRequestException​(java.lang.String message)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        Since:
        11.29
      • ExternalRoutingRequestException

        public ExternalRoutingRequestException​(java.lang.String message,
                                               java.lang.Throwable cause)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        11.29
    • Method Detail

      • setWaitTime

        public ExternalRoutingRequestException setWaitTime​(long waitTime)
        The method allows to set a wait time to wait before retrying the routing request for the specific routing item again. If no wait time is set, the system will wait for the configured default request fault delay time.
        Parameters:
        waitTime - the time in milliseconds to wait before retrying the routing request
        Returns:
        the ExternalRoutingRequestException
        Since:
        11.29
      • getWaitTime

        public long getWaitTime()
        Returns:
        the time in milliseconds to wait before retrying the routing request
        Since:
        11.29