pureweb.client. CommandResponseEventArgs

Encapsulates a command response from the service.

Method Summary

getExceptionDetail
Returns an ExceptionDetail object, which contains the particulars of the exception, if an error occurred.
getResponse
Returns the parsed command response, expressed as an XML element.

Constructor

new CommandResponseEventArgs(response, opt_ex)

Initializes a new instance of CommandResponseEventArgs.
Parameters:
Name Type Argument Description
response Element The root element of the response.
opt_ex pureweb.client.ExceptionDetail <optional>
The details of the exception, if an error occurred.

Method Detail

getExceptionDetail() → {pureweb.client.ExceptionDetail}

Returns an ExceptionDetail object, which contains the particulars of the exception, if an error occurred.

getResponse() → {Element}

Returns the parsed command response, expressed as an XML element.