public final class SimulatedTimeoutException
extends java.lang.RuntimeException
ActivityTimeoutException
. If thrown
from a child workflow the workflow code is going to receive it as ChildWorkflowTimedOutException
.Constructor and Description |
---|
SimulatedTimeoutException()
Creates an instance with no details and START_TO_CLOSE timeout.
|
SimulatedTimeoutException(TimeoutType timeoutType)
Creates an instance with specific timeoutType and empty details.
|
SimulatedTimeoutException(TimeoutType timeoutType,
java.lang.Object details)
Creates an instance with specific timeoutType and details.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDetails() |
TimeoutType |
getTimeoutType() |
public SimulatedTimeoutException(TimeoutType timeoutType, java.lang.Object details)
timeoutType
- timeout type to simulatedetails
- details included into the timeout exception.public SimulatedTimeoutException()
public SimulatedTimeoutException(TimeoutType timeoutType)
timeoutType
- timeout type to simulatepublic TimeoutType getTimeoutType()
public java.lang.Object getDetails()