Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class StartTimerFailedException

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.TimerException
                      extended by com.amazonaws.services.simpleworkflow.flow.StartTimerFailedException
All Implemented Interfaces:
Serializable

public class StartTimerFailedException
extends TimerException

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

See Also:
Serialized Form

Constructor Summary
StartTimerFailedException(long eventId, String timerId, Object createTimerUserContext, String cause)
           
StartTimerFailedException(String message)
           
StartTimerFailedException(String message, Throwable cause)
           
 
Method Summary
 StartTimerFailedCause getFailureCause()
           
 void setFailureCause(StartTimerFailedCause failureCause)
           
 
Methods inherited from class com.amazonaws.services.simpleworkflow.flow.TimerException
getCreateTimerUserContext, getTimerId, setCreateTimerUserContext, setTimerId
 
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

StartTimerFailedException

public StartTimerFailedException(String message)

StartTimerFailedException

public StartTimerFailedException(String message,
                                 Throwable cause)

StartTimerFailedException

public StartTimerFailedException(long eventId,
                                 String timerId,
                                 Object createTimerUserContext,
                                 String cause)
Method Detail

getFailureCause

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

setFailureCause

public void setFailureCause(StartTimerFailedCause failureCause)


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