Package org.apache.nifi.web.client.api
Class WebClientServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.nifi.web.client.api.WebClientServiceException
- All Implemented Interfaces:
Serializable
Web Client Service Exception provides a generalized wrapper for HTTP communication failures
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebClientServiceException
(String message, Throwable cause, URI uri, HttpRequestMethod httpRequestMethod) Web Service Client Exception with standard HTTP request properties -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
getMessage
(String message, URI uri, HttpRequestMethod httpRequestMethod) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WebClientServiceException
public WebClientServiceException(String message, Throwable cause, URI uri, HttpRequestMethod httpRequestMethod) Web Service Client Exception with standard HTTP request properties- Parameters:
message
- Failure messagecause
- Failure causeuri
- HTTP Request URIhttpRequestMethod
- HTTP Request Method
-
-
Method Details
-
getMessage
-