Package com.linkedin.venice.exceptions
Class VeniceNoHelixResourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linkedin.venice.exceptions.VeniceException
-
- com.linkedin.venice.exceptions.VeniceRouterException
-
- com.linkedin.venice.exceptions.VeniceNoHelixResourceException
-
- All Implemented Interfaces:
java.io.Serializable
public class VeniceNoHelixResourceException extends VeniceRouterException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.exceptions.VeniceException
errorType
-
-
Constructor Summary
Constructors Constructor Description VeniceNoHelixResourceException(java.lang.String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 behaviorjava.lang.String
getResource()
int
getVersion()
-
Methods inherited from class com.linkedin.venice.exceptions.VeniceRouterException
getHttpResponseStatus
-
Methods inherited from class com.linkedin.venice.exceptions.VeniceException
getErrorType
-
-
-
-
Method Detail
-
getResource
public java.lang.String getResource()
-
getVersion
public int getVersion()
-
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)
-
-