Class ConductorClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.netflix.conductor.client.exception.ConductorClientException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConductorClientException(int code, String message) ConductorClientException(int code, String message, Map<String, List<String>> responseHeaders, String responseBody) ConductorClientException(String message) ConductorClientException(String message, int code, Map<String, List<String>> responseHeaders, String responseBody) ConductorClientException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders) ConductorClientException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders, String responseBody) ConductorClientException(Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Get the HTTP response body.Get the HTTP response headers.intintbooleanbooleanvoidvoidsetInstance(String instance) voidsetRetryable(boolean retryable) voidsetStatus(int status) voidsetValidationErrors(List<ValidationError> validationErrors) toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConductorClientException
public ConductorClientException() -
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
ConductorClientException
-
-
Method Details
-
getValidationErrors
-
setValidationErrors
-
isClientError
public boolean isClientError() -
getStatusCode
public int getStatusCode()- Returns:
- HTTP status code
-
getResponseHeaders
Get the HTTP response headers.- Returns:
- A map of list of string
-
getResponseBody
Get the HTTP response body.- Returns:
- Response body in the form of string
-
getMessage
- Overrides:
getMessagein classThrowable
-
toString
-
getCode
-
setCode
-
setStatus
public void setStatus(int status) -
getInstance
-
setInstance
-
isRetryable
public boolean isRetryable() -
setRetryable
public void setRetryable(boolean retryable) -
getStatus
public int getStatus()
-