Package io.stargate.sdk.loadbalancer
Class UnavailableResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.stargate.sdk.loadbalancer.UnavailableResourceException
- All Implemented Interfaces:
Serializable
To disable a resources from the load balancer you will get 2 scenarios:
- The heartbit detect the failure and disable the resource
- The usage of the resource generates an exception that can be interpretad as resource not available
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionError with messageUnavailableResourceException(String msg, Throwable parent) Error with message and error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnavailableResourceException
Error with message- Parameters:
msg- current message
-
UnavailableResourceException
Error with message and error.- Parameters:
msg- current messageparent- error
-