public abstract class ConnectedAssetOMASAPIResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
exceptionClassName |
protected String |
exceptionErrorMessage |
protected String |
exceptionSystemAction |
protected String |
exceptionUserAction |
protected int |
relatedHTTPCode |
| Constructor and Description |
|---|
ConnectedAssetOMASAPIResponse()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionClassName()
Return the name of the Java class name to use to recreate the exception.
|
String |
getExceptionErrorMessage()
Return the error message associated with the exception.
|
String |
getExceptionSystemAction()
Return the description of the action taken by the system as a result of the exception.
|
String |
getExceptionUserAction()
Return the action that a user should take to resolve the problem.
|
int |
getRelatedHTTPCode()
Return the HTTP Code to use if forwarding response to HTTP client.
|
void |
setExceptionClassName(String exceptionClassName)
Set up the name of the Java class name to use to recreate the exception.
|
void |
setExceptionErrorMessage(String exceptionErrorMessage)
Set up the error message associated with the exception.
|
void |
setExceptionSystemAction(String exceptionSystemAction)
Set up the description of the action taken by the system as a result of the exception.
|
void |
setExceptionUserAction(String exceptionUserAction)
Set up the action that a user should take to resolve the problem.
|
void |
setRelatedHTTPCode(int relatedHTTPCode)
Set up the HTTP Code to use if forwarding response to HTTP client.
|
String |
toString() |
protected int relatedHTTPCode
protected String exceptionClassName
protected String exceptionErrorMessage
protected String exceptionSystemAction
protected String exceptionUserAction
public ConnectedAssetOMASAPIResponse()
public int getRelatedHTTPCode()
public void setRelatedHTTPCode(int relatedHTTPCode)
relatedHTTPCode - - integer HTTP status codepublic String getExceptionClassName()
public void setExceptionClassName(String exceptionClassName)
exceptionClassName - - String name of the fully-qualified java class namepublic String getExceptionErrorMessage()
public void setExceptionErrorMessage(String exceptionErrorMessage)
exceptionErrorMessage - - string error messagepublic String getExceptionSystemAction()
public void setExceptionSystemAction(String exceptionSystemAction)
exceptionSystemAction - - string description of the action takenpublic String getExceptionUserAction()
public void setExceptionUserAction(String exceptionUserAction)
exceptionUserAction - - string instructionsCopyright © 2018 ODPi. All rights reserved.