Package org.keycloak.client.registration
Class HttpErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.keycloak.client.registration.HttpErrorException
-
- All Implemented Interfaces:
Serializable
public class HttpErrorException extends IOException
- Author:
- Stian Thorgersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpErrorException(org.apache.http.StatusLine statusLine, String errorResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorResponse()org.apache.http.StatusLinegetStatusLine()OAuth2ErrorRepresentationtoErrorRepresentation()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HttpErrorException
public HttpErrorException(org.apache.http.StatusLine statusLine, String errorResponse)
-
-
Method Detail
-
getStatusLine
public org.apache.http.StatusLine getStatusLine()
-
getErrorResponse
public String getErrorResponse()
-
toErrorRepresentation
public OAuth2ErrorRepresentation toErrorRepresentation()
-
-