Class DynamicConsulServiceDiscovery.ServiceDiscoveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.pipestream.dynamic.grpc.client.discovery.DynamicConsulServiceDiscovery.ServiceDiscoveryException
- All Implemented Interfaces:
Serializable
- Enclosing class:
DynamicConsulServiceDiscovery
public static class DynamicConsulServiceDiscovery.ServiceDiscoveryException
extends RuntimeException
Custom exception for service discovery failures.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceDiscoveryException(String message) Creates a new ServiceDiscoveryException with a message.ServiceDiscoveryException(String message, Throwable cause) Creates a new ServiceDiscoveryException with a message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceDiscoveryException
Creates a new ServiceDiscoveryException with a message.- Parameters:
message- explanation of the discovery failure
-
ServiceDiscoveryException
Creates a new ServiceDiscoveryException with a message and a cause.- Parameters:
message- explanation of the discovery failurecause- the underlying cause
-