Class ExternalRoutingRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.ExternalRoutingException
com.novomind.ecom.api.iagent.exception.ExternalRoutingRequestException
- All Implemented Interfaces:
Serializable
An error has occurred during the attempt to start a routing request.
- Since:
- 11.29
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExternalRoutingRequestException(String message) Constructs a newExternalRoutingRequestExceptionwith the specified detail message.ExternalRoutingRequestException(String message, Throwable cause) Constructs a newExternalRoutingRequestExceptionwith the specified detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the time in milliseconds to wait before retrying the routing request.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
-
Constructor Details
-
ExternalRoutingRequestException
Constructs a newExternalRoutingRequestExceptionwith the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).- Since:
- 11.29
-
ExternalRoutingRequestException
Constructs a newExternalRoutingRequestExceptionwith the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 11.29
-
-
Method Details
-
setWaitTime
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.- Returns:
- the time in milliseconds to wait before retrying the routing request
- Since:
- 11.29
-