public class ProcessingOutcomeMessage
extends java.lang.Object
implements java.io.Serializable
ProcessingOutcomeMessage
is a description of why a particular
noun failed to be processed. It contains error information.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ProcessingOutcomeMessage()
Default constructor
|
ProcessingOutcomeMessage(ECMessage pErrorMessage,
java.lang.String localizedMessage,
java.lang.String[] symptomData,
java.lang.String pErrorCode)
ProcessingOutcomeMessage constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode() |
ECMessage |
getErrorMessage() |
java.lang.String |
getLocalizedMessage()
Gets a localized error message created from the service end
|
java.lang.String[] |
getSymptomData()
Returns the symptom data
|
void |
setErrorCode(java.lang.String string)
Sets the error code for this noun
|
void |
setErrorMessage(ECMessage message)
Sets an error message indicating why the corresponding value object failed to be processed
|
void |
setLocalizedMessage(java.lang.String string)
Sets a localized error message created from the service end
|
void |
setSymptomData(java.lang.String[] strings)
Sets the symptom data
|
public static final java.lang.String COPYRIGHT
public ProcessingOutcomeMessage()
public ProcessingOutcomeMessage(ECMessage pErrorMessage, java.lang.String localizedMessage, java.lang.String[] symptomData, java.lang.String pErrorCode)
pErrorMessage
- the error message used in the given errorlocalizedMessage
- the localized message corresponding to the given error messagesymptomData
- the symptom of the errorerrorCode
- the error code that is correspoinding to the error message.public ECMessage getErrorMessage()
public void setErrorMessage(ECMessage message)
errorMessage
- th error message to be setpublic java.lang.String getLocalizedMessage()
public java.lang.String[] getSymptomData()
public void setLocalizedMessage(java.lang.String string)
localizedMessage
- the localized message to be usedpublic void setSymptomData(java.lang.String[] strings)
strings
- the symptom data to be used.public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String string)
errorCode
- the error code to be used.