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