public class AbstractCharonException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected String |
detail
A detailed human-readable message.
|
protected String |
schemas
Error responses are identified using the following "schema" uri
|
protected String |
scimType
the scim type for scim errors as defined in RFC7644 3.12
|
protected int |
status
The HTTP status code
|
| Constructor and Description |
|---|
AbstractCharonException() |
AbstractCharonException(int status,
String detail,
String scimType) |
AbstractCharonException(String message) |
AbstractCharonException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDetail() |
String |
getSchemas() |
String |
getScimType() |
int |
getStatus() |
void |
setDetail(String detail) |
void |
setSchemas(String schemas) |
void |
setScimType(String scimType) |
void |
setStatus(int status) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String schemas
protected String detail
protected int status
protected String scimType
public AbstractCharonException()
public AbstractCharonException(String message, Throwable cause)
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public AbstractCharonException(String message)
public String getSchemas()
public void setSchemas(String schemas)
public String getDetail()
public void setDetail(String detail)
public int getStatus()
public void setStatus(int status)
public String getScimType()
public void setScimType(String scimType)
Copyright © 2022 WSO2. All rights reserved.