Exception: AWS::Flow::ActivityTaskTimedOutException Abstract
- Inherits:
-
ActivityFailureException
- Object
- Exception
- FlowException
- ActivityFailureException
- AWS::Flow::ActivityTaskTimedOutException
- Defined in:
- lib/aws/decider/exceptions.rb
Overview
This class is abstract.
An exception raised when the activity task has timed out.
This exception is thrown if an activity was timed out by Amazon SWF. This could happen if the activity task could not be assigned to the worker within the require time period or could not be completed by the worker in the required time. You can set these timeouts on the activity using the @ActivityRegistrationOptions annotation or using the ‘ActivitySchedulingOptions` parameter when calling the activity method.
Instance Attribute Summary
Attributes inherited from FlowException
Instance Method Summary collapse
-
#initialize(id, activity_id, reason, details) ⇒ ActivityTaskTimedOutException
constructor
Creates a new ‘ActivityTaskTimeoutException`.
Constructor Details
#initialize(id, activity_id, reason, details) ⇒ ActivityTaskTimedOutException
Creates a new ‘ActivityTaskTimeoutException`.
149 150 151 152 153 |
# File 'lib/aws/decider/exceptions.rb', line 149 def initialize(id, activity_id, reason, details) @id = id @activity_id = activity_id super(reason, details) end |