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:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.linkedin.venice.exceptions.VeniceException
errorType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.codec.http.HttpResponseStatusintIf this exception is caught in handling an http request, what status code should be returned? By default this is derived from theErrorTypeset on the exception (seeErrorType.getHttpStatusCode()), which defaults to 500 (Internal Server Error) forErrorType.GENERAL_ERROR.static StringgetMessage(String storeName) Methods 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
-
VeniceRequestEarlyTerminationException
-
-
Method Details
-
getHttpStatusCode
public int getHttpStatusCode()Description copied from class:VeniceExceptionIf this exception is caught in handling an http request, what status code should be returned? By default this is derived from theErrorTypeset on the exception (seeErrorType.getHttpStatusCode()), which defaults to 500 (Internal Server Error) forErrorType.GENERAL_ERROR. Exceptions that extend VeniceException can override this for different behavior.- Overrides:
getHttpStatusCodein classVeniceException
-
getHttpResponseStatus
public static io.netty.handler.codec.http.HttpResponseStatus getHttpResponseStatus() -
getMessage
-
getStoreName
-