Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class DecisionException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivityTaskException, ChildWorkflowException, SignalExternalWorkflowException, TimerException

public abstract class DecisionException
extends RuntimeException

Exception used to communicate failure during fulfillment of a decision sent to SWF. This exception and all its subclasses are expected to be thrown by the framework. The only reason its constructor is public is so allow unit tests that throw it.

See Also:
Serialized Form

Constructor Summary
DecisionException(String message)
           
DecisionException(String message, long eventId)
           
DecisionException(String message, Throwable cause)
           
 
Method Summary
 long getEventId()
           
 void setEventId(long eventId)
           
 
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

DecisionException

public DecisionException(String message)

DecisionException

public DecisionException(String message,
                         Throwable cause)

DecisionException

public DecisionException(String message,
                         long eventId)
Method Detail

getEventId

public long getEventId()

setEventId

public void setEventId(long eventId)


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