Class DurableOperationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CallbackException, ChildContextFailedException, InvokeException, MapIterationFailedException, ParallelBranchFailedException, StepException, WaitForConditionFailedException

public class DurableOperationException extends DurableExecutionException
Exception associated with a specific durable operation, carrying the operation and error details.
See Also:
  • Constructor Details

    • DurableOperationException

      public DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject)
    • DurableOperationException

      public DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage)
    • DurableOperationException

      public DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage, Throwable cause)
    • DurableOperationException

      public DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage, StackTraceElement[] stackTrace, Throwable cause)
  • Method Details

    • getErrorObject

      public software.amazon.awssdk.services.lambda.model.ErrorObject getErrorObject()
      Returns the error details from the failed operation.
    • getOperation

      public software.amazon.awssdk.services.lambda.model.Operation getOperation()
      Returns the operation that caused this exception.
    • getOperationStatus

      public software.amazon.awssdk.services.lambda.model.OperationStatus getOperationStatus()
      Returns the status of the operation that caused this exception.
    • getOperationId

      public String getOperationId()
      Returns the ID of the operation that caused this exception.