Class UnrecoverableDurableExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.lambda.durable.exception.DurableExecutionException
software.amazon.lambda.durable.exception.UnrecoverableDurableExecutionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalDurableOperationException,NonDeterministicExecutionException
Exception thrown when the execution is not recoverable. The durable execution will be immediately terminated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnrecoverableDurableExecutionException(software.amazon.awssdk.services.lambda.model.ErrorObject errorObject) UnrecoverableDurableExecutionException(software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, boolean retryable) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.lambda.model.ErrorObjectReturns the error details for this unrecoverable exception.booleanReturns true if the execution can be retried.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnrecoverableDurableExecutionException
public UnrecoverableDurableExecutionException(software.amazon.awssdk.services.lambda.model.ErrorObject errorObject, boolean retryable) -
UnrecoverableDurableExecutionException
public UnrecoverableDurableExecutionException(software.amazon.awssdk.services.lambda.model.ErrorObject errorObject)
-
-
Method Details
-
getErrorObject
public software.amazon.awssdk.services.lambda.model.ErrorObject getErrorObject()Returns the error details for this unrecoverable exception. -
isRetryable
public boolean isRetryable()Returns true if the execution can be retried.
-