Package com.linkedin.venice.exceptions
Class VeniceStoreAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linkedin.venice.exceptions.VeniceException
com.linkedin.venice.exceptions.VeniceStoreAlreadyExistsException
- All Implemented Interfaces:
Serializable
Thrown when an operation should create a store, but the store already exists
- See Also:
-
Field Summary
Fields inherited from class com.linkedin.venice.exceptions.VeniceException
errorType -
Constructor Summary
ConstructorsConstructorDescriptionVeniceStoreAlreadyExistsException(String storeName) VeniceStoreAlreadyExistsException(String storeName, String clusterName) VeniceStoreAlreadyExistsException(String storeName, String clusterName, Throwable t) VeniceStoreAlreadyExistsException(String storeName, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionintIf this exception is caught in handling an http request, what status code should be returned? Exceptions that extend VeniceException can override this for different behaviorMethods inherited from class com.linkedin.venice.exceptions.VeniceException
getErrorTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VeniceStoreAlreadyExistsException
-
VeniceStoreAlreadyExistsException
-
VeniceStoreAlreadyExistsException
-
VeniceStoreAlreadyExistsException
-
-
Method Details
-
getStoreName
-
getClusterName
-
getHttpStatusCode
public int getHttpStatusCode()Description copied from class:VeniceExceptionIf 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:
getHttpStatusCodein classVeniceException- Returns:
- 500 (Internal Server Error)
-