public class ClientPolicyException extends Exception
| Constructor and Description |
|---|
ClientPolicyException(String error) |
ClientPolicyException(String error,
String errorDetail) |
ClientPolicyException(String error,
String errorDetail,
javax.ws.rs.core.Response.Status errorStatus) |
ClientPolicyException(String error,
String errorDetail,
javax.ws.rs.core.Response.Status errorStatus,
Throwable throwable) |
ClientPolicyException(String error,
String errorDetail,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace()
If
ClientPolicyException is used to notify the event so that it needs not to have stack trace. |
String |
getError() |
String |
getErrorDetail() |
javax.ws.rs.core.Response.Status |
getErrorStatus() |
void |
setError(String error) |
void |
setErrorDetail(String errorDetail) |
void |
setErrorStatus(javax.ws.rs.core.Response.Status errorStatus) |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClientPolicyException(String error)
public ClientPolicyException(String error, String errorDetail, javax.ws.rs.core.Response.Status errorStatus)
public ClientPolicyException(String error, String errorDetail, Throwable throwable)
public String getError()
public void setError(String error)
public String getErrorDetail()
public void setErrorDetail(String errorDetail)
public javax.ws.rs.core.Response.Status getErrorStatus()
public void setErrorStatus(javax.ws.rs.core.Response.Status errorStatus)
public Throwable fillInStackTrace()
ClientPolicyException is used to notify the event so that it needs not to have stack trace.fillInStackTrace in class ThrowableCopyright © 2021 JBoss by Red Hat. All rights reserved.