Class ClientPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.keycloak.services.clientpolicy.ClientPolicyException
- All Implemented Interfaces:
Serializable
- Author:
- Takashi Norimatsu
- See Also:
-
Constructor Summary
ConstructorDescriptionClientPolicyException
(String error) ClientPolicyException
(String error, String errorDetail) ClientPolicyException
(String error, String errorDetail, jakarta.ws.rs.core.Response.Status errorStatus) ClientPolicyException
(String error, String errorDetail, jakarta.ws.rs.core.Response.Status errorStatus, Throwable throwable) ClientPolicyException
(String error, String errorDetail, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionIfClientPolicyException
is used to notify the event so that it needs not to have stack trace.getError()
jakarta.ws.rs.core.Response.Status
void
void
setErrorDetail
(String errorDetail) void
setErrorStatus
(jakarta.ws.rs.core.Response.Status errorStatus) Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientPolicyException
-
ClientPolicyException
-
ClientPolicyException
-
ClientPolicyException
-
ClientPolicyException
-
-
Method Details
-
getError
-
setError
-
getErrorDetail
-
setErrorDetail
-
getErrorStatus
public jakarta.ws.rs.core.Response.Status getErrorStatus() -
setErrorStatus
public void setErrorStatus(jakarta.ws.rs.core.Response.Status errorStatus) -
fillInStackTrace
IfClientPolicyException
is used to notify the event so that it needs not to have stack trace.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- always null
-