Class WrappedHTTPResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.openid.connect.provider.spi.reg.WrappedHTTPResponseException
- All Implemented Interfaces:
Serializable
Exception with a wrapped HTTP response.
- See Also:
-
Constructor Summary
ConstructorDescriptionWrappedHTTPResponseException
(@Nullable String message, com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse) Creates a new wrapped HTTP response exception. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.oauth2.sdk.http.HTTPResponse
Returns the wrapped HTTP response.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedHTTPResponseException
public WrappedHTTPResponseException(@Nullable String message, com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse) Creates a new wrapped HTTP response exception.- Parameters:
message
- Optional message to log,null
if not specified.httpResponse
- The wrapped HTTP response, must not benull
.
-
-
Method Details
-
getHTTPResponse
Returns the wrapped HTTP response.- Returns:
- The HTTP response.
-