Class UnavailableResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.stargate.sdk.loadbalancer.UnavailableResourceException
All Implemented Interfaces:
Serializable

public class UnavailableResourceException extends RuntimeException
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 Details

    • UnavailableResourceException

      public UnavailableResourceException(String msg)
      Error with message
      Parameters:
      msg - current message
    • UnavailableResourceException

      public UnavailableResourceException(String msg, Throwable parent)
      Error with message and error.
      Parameters:
      msg - current message
      parent - error