Package org.mlflow.tracking
Class MlflowHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mlflow.tracking.MlflowClientException
org.mlflow.tracking.MlflowHttpException
- All Implemented Interfaces:
java.io.Serializable
public class MlflowHttpException extends MlflowClientException
Returned when an HTTP API request to a remote Tracking service returns an error code.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MlflowHttpException(int statusCode, java.lang.String reasonPhrase)
MlflowHttpException(int statusCode, java.lang.String reasonPhrase, java.lang.String bodyMessage)
-
Method Summary
Modifier and Type Method Description java.lang.String
getBodyMessage()
java.lang.String
getReasonPhrase()
int
getStatusCode()
-
Constructor Details
-
MlflowHttpException
public MlflowHttpException(int statusCode, java.lang.String reasonPhrase) -
MlflowHttpException
public MlflowHttpException(int statusCode, java.lang.String reasonPhrase, java.lang.String bodyMessage)
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getReasonPhrase
public java.lang.String getReasonPhrase() -
getBodyMessage
public java.lang.String getBodyMessage()
-