Class VeniceStoreAlreadyExistsException

All Implemented Interfaces:
Serializable

public class VeniceStoreAlreadyExistsException extends VeniceException
Thrown when an operation should create a store, but the store already exists
See Also:
  • Constructor Details

    • VeniceStoreAlreadyExistsException

      public VeniceStoreAlreadyExistsException(String storeName, String clusterName)
    • VeniceStoreAlreadyExistsException

      public VeniceStoreAlreadyExistsException(String storeName, String clusterName, Throwable t)
    • VeniceStoreAlreadyExistsException

      public VeniceStoreAlreadyExistsException(String storeName)
    • VeniceStoreAlreadyExistsException

      public VeniceStoreAlreadyExistsException(String storeName, Throwable t)
  • Method Details

    • getStoreName

      public String getStoreName()
    • getClusterName

      public String getClusterName()
    • 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)