 |
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
-
-
Constructor Summary
Constructors
Constructor and Description |
RestClientResponseException(java.lang.String message,
int statusCode,
java.lang.String statusText,
HttpHeaders responseHeaders,
byte[] responseBody,
java.nio.charset.Charset responseCharset)
Construct a new instance of with the given response data.
|
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
RestClientResponseException
public RestClientResponseException(java.lang.String message,
int statusCode,
java.lang.String statusText,
@Nullable
HttpHeaders responseHeaders,
@Nullable
byte[] responseBody,
@Nullable
java.nio.charset.Charset responseCharset)
Construct a new instance of with the given response data.
- Parameters:
statusCode - the raw status code value
statusText - the status text
responseHeaders - the response headers (may be null )
responseBody - the response body content (may be null )
responseCharset - the response body charset (may be null )
|
|