public class WrappedHTTPResponseException extends Exception
Constructor and Description |
---|
WrappedHTTPResponseException(String message,
com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
Creates a new wrapped HTTP response exception.
|
Modifier and Type | Method and Description |
---|---|
com.nimbusds.oauth2.sdk.http.HTTPResponse |
getHTTPResponse()
Returns the wrapped HTTP response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrappedHTTPResponseException(String message, com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
message
- Optional message to log, null
if not
specified.httpResponse
- The wrapped HTTP response, must not be
null
.public com.nimbusds.oauth2.sdk.http.HTTPResponse getHTTPResponse()
Copyright © 2021 Connect2id Ltd.. All rights reserved.