Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class ActivityTaskException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivityTaskFailedException, ActivityTaskTimedOutException, ScheduleActivityTaskFailedException

public abstract class ActivityTaskException
extends DecisionException

Exception used to communicate failure of remote activity.

See Also:
Serialized Form

Constructor Summary
ActivityTaskException(String message)
           
ActivityTaskException(String message, long eventId, ActivityType activityType, String activityId)
           
ActivityTaskException(String message, Throwable cause)
           
 
Method Summary
 String getActivityId()
           
 ActivityType getActivityType()
           
 void setActivityId(String activityId)
           
 void setActivityType(ActivityType activityType)
           
 
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

ActivityTaskException

public ActivityTaskException(String message)

ActivityTaskException

public ActivityTaskException(String message,
                             Throwable cause)

ActivityTaskException

public ActivityTaskException(String message,
                             long eventId,
                             ActivityType activityType,
                             String activityId)
Method Detail

getActivityType

public ActivityType getActivityType()

setActivityType

public void setActivityType(ActivityType activityType)

getActivityId

public String getActivityId()

setActivityId

public void setActivityId(String activityId)


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