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:
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
-
-
Constructor Summary
Constructors Constructor Description ExternalRoutingRequestException(java.lang.String message)
ExternalRoutingRequestException(java.lang.String message, java.lang.Throwable cause)
-
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.
-
-
-
Constructor Detail
-
ExternalRoutingRequestException
public ExternalRoutingRequestException(java.lang.String message)
- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.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 theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
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
-
-