Class VeniceClientHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linkedin.venice.exceptions.VeniceException
com.linkedin.venice.client.exceptions.VeniceClientException
com.linkedin.venice.client.exceptions.VeniceClientHttpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VeniceClientRateExceededException
VeniceClientException
with a http code- See Also:
-
Field Summary
Fields inherited from class com.linkedin.venice.exceptions.VeniceException
errorType
-
Constructor Summary
ConstructorDescriptionVeniceClientHttpException
(int httpStatus) VeniceClientHttpException
(String msg, int httpStatus) VeniceClientHttpException
(String msg, int httpStatus, Throwable cause) -
Method Summary
Methods inherited from class com.linkedin.venice.exceptions.VeniceException
getErrorType, getHttpStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VeniceClientHttpException
-
VeniceClientHttpException
-
VeniceClientHttpException
public VeniceClientHttpException(int httpStatus)
-
-
Method Details
-
getHttpStatus
public int getHttpStatus()
-