Class VeniceNoStoreException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StoreVersionNotFoundException

public class VeniceNoStoreException extends VeniceException
Thrown when an operation should return information about a store, but the store does not exist
See Also:
  • Constructor Details

    • VeniceNoStoreException

      public VeniceNoStoreException(String storeName, String clusterName)
    • VeniceNoStoreException

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

      public VeniceNoStoreException(String storeName)
    • VeniceNoStoreException

      public VeniceNoStoreException(String storeName, String clusterName, String additionalMessage)
    • VeniceNoStoreException

      public VeniceNoStoreException(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)