public class ErrorResponse extends Object
Constructor and Description |
---|
ErrorResponse()
Instantiates a new error response.
|
ErrorResponse(String problemType,
String title,
String errorCode)
Instantiates a new error response.
|
Modifier and Type | Method and Description |
---|---|
String |
getDetail()
Gets the detail.
|
String |
getErrorCode()
Gets the error code.
|
ErrorResponse |
getErrorDetails()
Gets the error details.
|
String |
getErrorPath()
Gets the error path.
|
int |
getHttpStatus()
Gets the http status.
|
String |
getProblemInstance()
Gets the problem instance.
|
String |
getProblemType()
Gets the problem type.
|
String |
getRequestId()
Gets the request id.
|
String |
getTitle()
Gets the title.
|
void |
setDetail(String detail)
Sets the detail.
|
void |
setErrorCode(String errorCode)
Sets the error code.
|
void |
setErrorDetails(ErrorResponse errorDetails)
Sets the error details.
|
void |
setErrorPath(String errorPath)
Sets the error path.
|
void |
setHttpStatus(int httpStatus)
Sets the http status.
|
void |
setProblemInstance(String problemInstance)
Sets the problem instance.
|
void |
setProblemType(String problemType)
Sets the problem type.
|
void |
setRequestId(String requestId)
Sets the request unique id.
|
void |
setTitle(String title)
Sets the title.
|
public String getProblemType()
public void setProblemType(String problemType)
problemType
- the new problem typepublic String getTitle()
public void setTitle(String title)
title
- the new titlepublic int getHttpStatus()
public void setHttpStatus(int httpStatus)
httpStatus
- the new http statuspublic String getDetail()
public void setDetail(String detail)
detail
- the new detailpublic String getProblemInstance()
public void setProblemInstance(String problemInstance)
problemInstance
- the new problem instancepublic String getErrorCode()
public void setErrorCode(String errorCode)
errorCode
- the new error codepublic String getErrorPath()
public void setErrorPath(String errorPath)
errorPath
- the new error pathpublic ErrorResponse getErrorDetails()
public void setErrorDetails(ErrorResponse errorDetails)
errorDetails
- the new error detailspublic String getRequestId()
public void setRequestId(String requestId)
requestId
- the new request unique idCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.