Class ServiceNotReadyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.docker.compose.readiness.ServiceNotReadyException
- All Implemented Interfaces:
Serializable
Exception thrown when a single
RunningService
is not ready.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the service that was not ready.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getService
Return the service that was not ready.- Returns:
- the non-ready service
-