Class VeniceRequestEarlyTerminationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class VeniceRequestEarlyTerminationException
    extends VeniceException
    See Also:
    Serialized Form
    • 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 behavior
      java.lang.String getStoreName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VeniceRequestEarlyTerminationException

        public VeniceRequestEarlyTerminationException​(java.lang.String storeName)
    • 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 class VeniceException
        Returns:
        500 (Internal Server Error)
      • getHttpResponseStatus

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

        public java.lang.String getStoreName()