Class sap.apf.core.MessageObjectModule: sap/apf/core/messageObject
The message object represents the APF specific message object for detailed evaluation. The message object shall be created by method sap.apf.Api#createMessageObject.
Constructor Summary
new sap.apf.core.MessageObject(oConfig)
Method Summary
Method Detail
getPrevious(): sap.apf.core.MessageObject
Gets the previous message object.
Returns:
{sap.apf.core.MessageObject} | || undefined |
getStack(): string
Returns the stack of the error object to get the line number and source file
Returns:
{string} |
getTimestamp(): number
Returns the time stamp of the message object in seconds after 1970
Returns:
{number} |
getTimestampAsdateObject(): date
Returns the time stamp of the message object as a date
Returns:
{date} |
setPrevious(oPreviousMessageObject)
Sets the previous message object. One can add a message object to this message object, that describes a previous message. The message in the previous message object will also be displayed in the log (as previous entry).
Parameters:
{sap.apf.core.MessageObject} | oPreviousMessageObject |