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

public static class ErrorHandlingExample.ServiceUnavailableException extends RuntimeException
Custom exception to demonstrate that original exception types are preserved across checkpoints.
See Also:
  • Constructor Details

    • ServiceUnavailableException

      public ServiceUnavailableException()
      Default constructor required for Jackson deserialization.
    • ServiceUnavailableException

      public ServiceUnavailableException(String serviceName, String message)
  • Method Details

    • getServiceName

      public String getServiceName()