com.amazonaws.services.simpleworkflow.flow
Class DecisionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DecisionException
public DecisionException(String message)
DecisionException
public DecisionException(String message,
Throwable cause)
DecisionException
public DecisionException(String message,
long eventId)
getEventId
public long getEventId()
setEventId
public void setEventId(long eventId)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.