Package org.keycloak.services
Class ErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
org.keycloak.services.ErrorResponseException
- All Implemented Interfaces:
Serializable
public class ErrorResponseException
extends jakarta.ws.rs.WebApplicationException
- Author:
- Stian Thorgersen
- See Also:
-
Constructor Summary
ConstructorDescriptionErrorResponseException
(jakarta.ws.rs.core.Response response) ErrorResponseException
(String error, String errorDescription, jakarta.ws.rs.core.Response.Status status) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrorResponseException
-
ErrorResponseException
public ErrorResponseException(jakarta.ws.rs.core.Response response)
-
-
Method Details
-
getErrorDescription
-
getResponse
public jakarta.ws.rs.core.Response getResponse()- Overrides:
getResponse
in classjakarta.ws.rs.WebApplicationException
-