onError(ISDMRequest, ISDMResponse, ISDMRequestStateElement) method

This method is used by the connectivity layer when an error occurres during a request operation.

Syntax

public void onError (
    ISDMRequest aRequest,
    ISDMResponse aResponse,
    ISDMRequestStateElement aRequestStateElement
)

Parameters

Remarks

As parameter the listener object will receive the request object, the SDMHttpResponse object containing the details about the server response and a SDMRequestStateElement object, which provides more details about the occurred error. In case the error happened before sending any request to the server, the SDMHttpResponse object can be null.