org.keycloak.services

## Class CorsErrorResponseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.ws.rs.WebApplicationException
        - - org.keycloak.services.CorsErrorResponseException

- All Implemented Interfaces:
    Serializable

      public class CorsErrorResponseException
      extends javax.ws.rs.WebApplicationException

  Author:
    Stian Thorgersen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CorsErrorResponseException(Cors cors, String error, String errorDescription, javax.ws.rs.core.Response.Status status)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CorsErrorResponseException

          public CorsErrorResponseException(Cors cors,
                                            String error,
                                            String errorDescription,
                                            javax.ws.rs.core.Response.Status status)

  - ### Method Detail

    - #### getResponse

          public javax.ws.rs.core.Response getResponse()

      Overrides:
        `getResponse` in class `javax.ws.rs.WebApplicationException`

Copyright © 2021 JBoss by Red Hat. All rights reserved.