Class WrappedHTTPResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nimbusds.openid.connect.provider.spi.reg.WrappedHTTPResponseException
-
- All Implemented Interfaces:
Serializable
public class WrappedHTTPResponseException extends Exception
Exception with a wrapped HTTP response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrappedHTTPResponseException(String message, com.nimbusds.oauth2.sdk.http.HTTPResponse httpResponse)
Creates a new wrapped HTTP response exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.oauth2.sdk.http.HTTPResponse
getHTTPResponse()
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 Detail
-
WrappedHTTPResponseException
public WrappedHTTPResponseException(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 Detail
-
getHTTPResponse
public com.nimbusds.oauth2.sdk.http.HTTPResponse getHTTPResponse()
Returns the wrapped HTTP response.- Returns:
- The HTTP response.
-
-