com.amazonaws.services.simpleworkflow.flow
Class ActivityFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.services.simpleworkflow.flow.ActivityFailureException
- All Implemented Interfaces:
- Serializable
public class ActivityFailureException
- extends RuntimeException
This exception is expected to be thrown from
ActivityImplementation.execute(ActivityExecutionContext)
as it contains details property in the format that the activity client code
in the decider understands.
It is not expected to be thrown by the application level code.
- See Also:
- Serialized Form
ActivityFailureException
public ActivityFailureException(String reason)
ActivityFailureException
public ActivityFailureException(String reason,
String details)
- Construct exception with given arguments.
- Parameters:
statusCode
- value of status code fielddetails
- application specific failure details
getDetails
public String getDetails()
setDetails
public void setDetails(String details)
getReason
public String getReason()
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.