Class VeniceStoreIsMigratedException

All Implemented Interfaces:
Serializable

public class VeniceStoreIsMigratedException extends VeniceException
Thrown when an operation should return information about a store, but the store is migrated to another cluster
See Also:
  • Constructor Details

    • VeniceStoreIsMigratedException

      public VeniceStoreIsMigratedException(String storeName, String clusterName, String d2ServiceName)
  • Method Details

    • getStoreName

      public String getStoreName()
    • getClusterName

      public String getClusterName()
    • getD2ServiceName

      public String getD2ServiceName()
    • getHttpStatusCode

      public int getHttpStatusCode()
      Description copied from class: VeniceException
      If this exception is caught in handling an http request, what status code should be returned? Exceptions that extend VeniceException can override this for different behavior
      Overrides:
      getHttpStatusCode in class VeniceException
      Returns:
      500 (Internal Server Error)
    • getD2ServiceName

      public static String getD2ServiceName(String errorMsg)