Class ErrorHandlingExample.ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.lambda.durable.examples.ErrorHandlingExample.ServiceUnavailableException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ErrorHandlingExample
Custom exception to demonstrate that original exception types are preserved across checkpoints.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required for Jackson deserialization.ServiceUnavailableException(String serviceName, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceUnavailableException
public ServiceUnavailableException()Default constructor required for Jackson deserialization. -
ServiceUnavailableException
-
-
Method Details
-
getServiceName
-