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
ConstructorsConstructorDescriptionClientPolicyException(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 TypeMethodDescriptionIfClientPolicyExceptionis used to notify the event so that it needs not to have stack trace.getError()jakarta.ws.rs.core.Response.StatusvoidvoidsetErrorDetail(String errorDetail) voidsetErrorStatus(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
IfClientPolicyExceptionis used to notify the event so that it needs not to have stack trace.- Overrides:
fillInStackTracein classThrowable- Returns:
- always null
-