Package com.linkedin.venice.listener
Class VeniceRequestEarlyTerminationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linkedin.venice.exceptions.VeniceException
-
- com.linkedin.venice.listener.VeniceRequestEarlyTerminationException
-
- All Implemented Interfaces:
java.io.Serializable
public class VeniceRequestEarlyTerminationException extends VeniceException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.exceptions.VeniceException
errorType
-
-
Constructor Summary
Constructors Constructor Description VeniceRequestEarlyTerminationException(java.lang.String storeName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.netty.handler.codec.http.HttpResponseStatus
getHttpResponseStatus()
int
getHttpStatusCode()
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 behaviorstatic java.lang.String
getMessage(java.lang.String storeName)
java.lang.String
getStoreName()
-
Methods inherited from class com.linkedin.venice.exceptions.VeniceException
getErrorType
-
-
-
-
Method Detail
-
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 classVeniceException
- Returns:
- 500 (Internal Server Error)
-
getHttpResponseStatus
public static io.netty.handler.codec.http.HttpResponseStatus getHttpResponseStatus()
-
getMessage
public static java.lang.String getMessage(java.lang.String storeName)
-
getStoreName
public java.lang.String getStoreName()
-
-