public class ErrorResponse extends AnalyticsModelingOMASAPIResponse
| Constructor and Description |
|---|
ErrorResponse() |
ErrorResponse(AnalyticsModelingCheckedException source)
Constructor initialized from exception thrown.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Get error code.
|
String |
getExceptionCause()
Get message of original cause - details.
|
String |
getMessage()
Get error message
|
void |
setErrorCode(String errorCode)
Set error code.
|
void |
setExceptionCause(String exceptionCause)
Set details of the error.
|
void |
setMessage(String message)
Set error message.
|
getData, setData, toStringequals, getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, hashCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic ErrorResponse()
public ErrorResponse(AnalyticsModelingCheckedException source)
source - of the error.public String getMessage()
public void setMessage(String message)
message - to set.public String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - to set.public String getExceptionCause()
public void setExceptionCause(String exceptionCause)
exceptionCause - description of details.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.