Class ClientPolicyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.keycloak.services.clientpolicy.ClientPolicyException
All Implemented Interfaces:
Serializable

public class ClientPolicyException extends Exception
Author:
Takashi Norimatsu
See Also:
  • Constructor Details

    • ClientPolicyException

      public ClientPolicyException(String error)
    • ClientPolicyException

      public ClientPolicyException(String error, String errorDetail)
    • ClientPolicyException

      public ClientPolicyException(String error, String errorDetail, jakarta.ws.rs.core.Response.Status errorStatus)
    • ClientPolicyException

      public ClientPolicyException(String error, String errorDetail, Throwable throwable)
    • ClientPolicyException

      public ClientPolicyException(String error, String errorDetail, jakarta.ws.rs.core.Response.Status errorStatus, Throwable throwable)
  • Method Details

    • getError

      public String getError()
    • setError

      public void setError(String error)
    • getErrorDetail

      public String getErrorDetail()
    • setErrorDetail

      public void setErrorDetail(String errorDetail)
    • getErrorStatus

      public jakarta.ws.rs.core.Response.Status getErrorStatus()
    • setErrorStatus

      public void setErrorStatus(jakarta.ws.rs.core.Response.Status errorStatus)
    • fillInStackTrace

      public Throwable fillInStackTrace()
      If ClientPolicyException is used to notify the event so that it needs not to have stack trace.
      Overrides:
      fillInStackTrace in class Throwable
      Returns:
      always null