Class DurableOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.lambda.durable.exception.DurableExecutionException
software.amazon.lambda.durable.exception.DurableOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CallbackException,ChildContextFailedException,InvokeException,MapIterationFailedException,ParallelBranchFailedException,StepException,WaitForConditionFailedException
Exception associated with a specific durable operation, carrying the operation and error details.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject) DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage) DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage, StackTraceElement[] stackTrace, Throwable cause) DurableOperationException(software.amazon.awssdk.services.lambda.model.Operation operation, software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, String errorMessage, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.lambda.model.ErrorObjectReturns the error details from the failed operation.software.amazon.awssdk.services.lambda.model.OperationReturns the operation that caused this exception.Returns the ID of the operation that caused this exception.software.amazon.awssdk.services.lambda.model.OperationStatusReturns the status of the operation that caused this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-
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
Returns the ID of the operation that caused this exception.
-