public class OslcErrorResponse extends java.lang.Object implements OslcErrorResponsesSpecification
error, extendedError, moreInfo, rdfResource
Constructor and Description |
---|
OslcErrorResponse(java.lang.String statusCode,
java.lang.String message,
java.lang.String reasonCode) |
OslcErrorResponse(java.lang.String statusCode,
java.lang.String message,
java.lang.String reasonCode,
java.lang.String localResource) |
OslcErrorResponse(java.lang.String statusCode,
java.lang.String message,
java.lang.String reasonCode,
java.lang.String localResource,
java.lang.String rel) |
OslcErrorResponse(java.lang.String statusCode,
java.lang.String message,
java.lang.String reasonCode,
java.lang.String localResource,
java.lang.String rel,
java.lang.String hintWidth,
java.lang.String hintHeight) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
getExtendedError() |
java.lang.String |
getHintHeight() |
java.lang.String |
getHintWidth() |
java.lang.String |
getLocalResource() |
java.lang.String |
getMessage() |
java.lang.String |
getRel() |
java.lang.String |
getStatusCode() |
void |
setChangePassURI(java.lang.String chgPassURI) |
void |
setHintHeight(java.lang.String hintHeight) |
void |
setHintWidth(java.lang.String hintWidth) |
void |
setLocalResource(java.lang.String localResource) |
void |
setMessage(java.lang.String message) |
void |
setRel(java.lang.String rel) |
void |
setStatusCode(java.lang.String statusCode) |
com.ibm.json.java.JSONObject |
toJsonError() |
public OslcErrorResponse(java.lang.String statusCode, java.lang.String message, java.lang.String reasonCode)
public OslcErrorResponse(java.lang.String statusCode, java.lang.String message, java.lang.String reasonCode, java.lang.String localResource)
public OslcErrorResponse(java.lang.String statusCode, java.lang.String message, java.lang.String reasonCode, java.lang.String localResource, java.lang.String rel)
public OslcErrorResponse(java.lang.String statusCode, java.lang.String message, java.lang.String reasonCode, java.lang.String localResource, java.lang.String rel, java.lang.String hintWidth, java.lang.String hintHeight)
public void setStatusCode(java.lang.String statusCode)
statusCode
- the statusCode to setpublic com.ibm.json.java.JSONObject toJsonError()
public com.ibm.json.java.JSONObject getExtendedError()
public java.lang.String getStatusCode()
public void setMessage(java.lang.String message)
message
- the message to setpublic java.lang.String getMessage()
public void setLocalResource(java.lang.String localResource)
localResource
- the localResource to setpublic java.lang.String getLocalResource()
public void setRel(java.lang.String rel)
rel
- the rel to setpublic java.lang.String getRel()
public void setHintWidth(java.lang.String hintWidth)
hintWidth
- the hintWidth to setpublic java.lang.String getHintWidth()
public void setHintHeight(java.lang.String hintHeight)
hintHeight
- the hintHeight to setpublic java.lang.String getHintHeight()
public void setChangePassURI(java.lang.String chgPassURI)