Class ReadinessTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.docker.compose.readiness.ReadinessTimeoutException
All Implemented Interfaces:
Serializable

public final class ReadinessTimeoutException extends RuntimeException
Exception thrown if readiness checking has timed out. Related ServiceNotReadyExceptions are available from Throwable.getSuppressed().
Since:
3.1.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
See Also:
  • Method Details

    • getTimeout

      public Duration getTimeout()
      Return the timeout that was reached.
      Returns:
      the timeout