com.worklight.wlclient.api

Class WLFailResponse

  • Direct Known Subclasses:
    WLProcedureInvocationFailResponse


    public class WLFailResponse
    extends WLResponse
    This class extends WLResponse and contains the status in WLResponse, error codes, and messages. This class also contains the original response DataObject from the server. Contains the original response data object from the server as well.
    • Constructor Detail

      • WLFailResponse

        public WLFailResponse(Response httpResponse)
    • Method Detail

      • getErrorStatusCode

        public java.lang.String getErrorStatusCode()
        Returns:
        error code
      • getErrorCode

        public WLErrorCode getErrorCode()
        Deprecated. As of MobileFirst v8.0, replaced by getErrorStatusCode method.
        The WLErrorCode section contains a description of the possible errors.
        Returns:
        possible errors define in WLErrorCode
      • getErrorMsg

        public java.lang.String getErrorMsg()
        This method returns an error message that is for the developer, and not necessarily suitable for the user.
        Returns:
        A developer oriented errorCode message(no necessarily suitable to display for the user).


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.