Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class ScheduleActivityTaskFailedException

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.ScheduleActivityTaskFailedException
All Implemented Interfaces:
Serializable

public class ScheduleActivityTaskFailedException
extends ActivityTaskException

Exception used to communicate that activity wasn't scheduled due to some cause

See Also:
Serialized Form

Constructor Summary
ScheduleActivityTaskFailedException(long eventId, ActivityType activityType, String activityId, String cause)
           
ScheduleActivityTaskFailedException(String message)
           
ScheduleActivityTaskFailedException(String message, Throwable cause)
           
 
Method Summary
 ScheduleActivityTaskFailedCause getFailureCause()
           
 void setFailureCause(ScheduleActivityTaskFailedCause failureCause)
           
 
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

ScheduleActivityTaskFailedException

public ScheduleActivityTaskFailedException(String message)

ScheduleActivityTaskFailedException

public ScheduleActivityTaskFailedException(String message,
                                           Throwable cause)

ScheduleActivityTaskFailedException

public ScheduleActivityTaskFailedException(long eventId,
                                           ActivityType activityType,
                                           String activityId,
                                           String cause)
Method Detail

getFailureCause

public ScheduleActivityTaskFailedCause getFailureCause()
Returns:
enumeration that contains the cause of the failure

setFailureCause

public void setFailureCause(ScheduleActivityTaskFailedCause failureCause)


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