Class VeniceRequestEarlyTerminationException

All Implemented Interfaces:
Serializable

public class VeniceRequestEarlyTerminationException extends VeniceException
See Also:
  • Constructor Details

    • VeniceRequestEarlyTerminationException

      public VeniceRequestEarlyTerminationException(String storeName)
  • Method Details

    • 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? By default this is derived from the ErrorType set on the exception (see ErrorType.getHttpStatusCode()), which defaults to 500 (Internal Server Error) for ErrorType.GENERAL_ERROR. Exceptions that extend VeniceException can override this for different behavior.
      Overrides:
      getHttpStatusCode in class VeniceException
    • getHttpResponseStatus

      public static io.netty.handler.codec.http.HttpResponseStatus getHttpResponseStatus()
    • getMessage

      public static String getMessage(String storeName)
    • getStoreName

      public String getStoreName()