public class FFDCResponseBase extends Object implements Serializable, FFDCResponse
| Constructor and Description |
|---|
FFDCResponseBase()
Default constructor
|
FFDCResponseBase(FFDCResponseBase template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
String |
getActionDescription()
Return the description of the action in progress when the exception occurred.
|
String |
getExceptionCausedBy()
Return the name of any nested exception that may indicate the root cause of the exception.
|
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 |
getExceptionErrorMessageId()
Return the formal message identifier for the error message.
|
String[] |
getExceptionErrorMessageParameters()
Return the parameters that were inserted in the error message.
|
Map<String,Object> |
getExceptionProperties()
Return the additional properties stored by the exceptions.
|
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.
|
int |
hashCode()
Return hash code for this object
|
void |
setActionDescription(String actionDescription)
Set up the description of the activity in progress when the exception occurred.
|
void |
setExceptionCausedBy(String exceptionCausedBy)
Set up the name of any nested exception that may indicate the root cause of the exception.
|
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 |
setExceptionErrorMessageId(String exceptionErrorMessageId)
Set up the formal message identifier for the error message.
|
void |
setExceptionErrorMessageParameters(String[] exceptionErrorMessageParameters)
Set up the list of parameters inserted in to the error message.
|
void |
setExceptionProperties(Map<String,Object> exceptionProperties)
Set up the additional properties stored by the exceptions.
|
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()
JSON-like toString
|
public FFDCResponseBase()
public FFDCResponseBase(FFDCResponseBase template)
template - object to copypublic String getExceptionClassName()
FFDCResponsegetExceptionClassName in interface FFDCResponsepublic void setExceptionClassName(String exceptionClassName)
FFDCResponsesetExceptionClassName in interface FFDCResponseexceptionClassName - - String name of the fully-qualified java class namepublic String getExceptionCausedBy()
FFDCResponsegetExceptionCausedBy in interface FFDCResponsepublic void setExceptionCausedBy(String exceptionCausedBy)
FFDCResponsesetExceptionCausedBy in interface FFDCResponseexceptionCausedBy - exception class namepublic String getActionDescription()
FFDCResponsegetActionDescription in interface FFDCResponsepublic void setActionDescription(String actionDescription)
FFDCResponsesetActionDescription in interface FFDCResponseactionDescription - string descriptionpublic int getRelatedHTTPCode()
FFDCResponsegetRelatedHTTPCode in interface FFDCResponsepublic void setRelatedHTTPCode(int relatedHTTPCode)
FFDCResponsesetRelatedHTTPCode in interface FFDCResponserelatedHTTPCode - - integer HTTP status codepublic String getExceptionErrorMessage()
FFDCResponsegetExceptionErrorMessage in interface FFDCResponsepublic void setExceptionErrorMessage(String exceptionErrorMessage)
FFDCResponsesetExceptionErrorMessage in interface FFDCResponseexceptionErrorMessage - - string error messagepublic String getExceptionErrorMessageId()
FFDCResponsegetExceptionErrorMessageId in interface FFDCResponsepublic void setExceptionErrorMessageId(String exceptionErrorMessageId)
FFDCResponsesetExceptionErrorMessageId in interface FFDCResponseexceptionErrorMessageId - string identifierpublic String[] getExceptionErrorMessageParameters()
FFDCResponsegetExceptionErrorMessageParameters in interface FFDCResponsepublic void setExceptionErrorMessageParameters(String[] exceptionErrorMessageParameters)
FFDCResponsesetExceptionErrorMessageParameters in interface FFDCResponseexceptionErrorMessageParameters - list of stringspublic String getExceptionSystemAction()
FFDCResponsegetExceptionSystemAction in interface FFDCResponsepublic void setExceptionSystemAction(String exceptionSystemAction)
FFDCResponsesetExceptionSystemAction in interface FFDCResponseexceptionSystemAction - - string description of the action takenpublic String getExceptionUserAction()
FFDCResponsegetExceptionUserAction in interface FFDCResponsepublic void setExceptionUserAction(String exceptionUserAction)
FFDCResponsesetExceptionUserAction in interface FFDCResponseexceptionUserAction - - string instructionspublic Map<String,Object> getExceptionProperties()
FFDCResponsegetExceptionProperties in interface FFDCResponsepublic void setExceptionProperties(Map<String,Object> exceptionProperties)
FFDCResponsesetExceptionProperties in interface FFDCResponseexceptionProperties - property mappublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.