Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class ActivityTaskTimedOutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.amazonaws.services.simpleworkflow.flow.DecisionException
                  extended by com.amazonaws.services.simpleworkflow.flow.ActivityTaskException
                      extended by com.amazonaws.services.simpleworkflow.flow.ActivityTaskTimedOutException
All Implemented Interfaces:
Serializable

public class ActivityTaskTimedOutException
extends ActivityTaskException

Exception that indicates Activity time out.

See Also:
Serialized Form

Constructor Summary
ActivityTaskTimedOutException(long eventId, ActivityType activityType, String activityId, String timeoutType, String details)
           
ActivityTaskTimedOutException(String message)
           
ActivityTaskTimedOutException(String message, Throwable cause)
           
 
Method Summary
 String getDetails()
           
 ActivityTaskTimeoutType getTimeoutType()
           
 void setDetails(String details)
           
 void setTimeoutType(ActivityTaskTimeoutType timeoutType)
           
 
Methods inherited from class com.amazonaws.services.simpleworkflow.flow.ActivityTaskException
getActivityId, getActivityType, setActivityId, setActivityType
 
Methods inherited from class com.amazonaws.services.simpleworkflow.flow.DecisionException
getEventId, setEventId
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskTimedOutException

public ActivityTaskTimedOutException(String message,
                                     Throwable cause)

ActivityTaskTimedOutException

public ActivityTaskTimedOutException(String message)

ActivityTaskTimedOutException

public ActivityTaskTimedOutException(long eventId,
                                     ActivityType activityType,
                                     String activityId,
                                     String timeoutType,
                                     String details)
Method Detail

getTimeoutType

public ActivityTaskTimeoutType getTimeoutType()

setTimeoutType

public void setTimeoutType(ActivityTaskTimeoutType timeoutType)

getDetails

public String getDetails()
Returns:
The value from the last activity heartbeat details field.

setDetails

public void setDetails(String details)


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.