org.wso2.carbon.mdm.services.android.bean

## Class ErrorResponse.ErrorResponseBuilder

- java.lang.Object
- - org.wso2.carbon.mdm.services.android.bean.ErrorResponse.ErrorResponseBuilder

- Enclosing class:
    ErrorResponse

      public static class ErrorResponse.ErrorResponseBuilder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ErrorResponse.ErrorResponseBuilder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ErrorResponse.ErrorResponseBuilder` | `addErrorItem(String code, String msg)`
    `ErrorResponse` | `build()`
    `ErrorResponse.ErrorResponseBuilder` | `setCode(long code)`
    `ErrorResponse.ErrorResponseBuilder` | `setDescription(String description)`
    `ErrorResponse.ErrorResponseBuilder` | `setMessage(String message)`
    `ErrorResponse.ErrorResponseBuilder` | `setMoreInfo(String moreInfo)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ErrorResponse.ErrorResponseBuilder

          public ErrorResponse.ErrorResponseBuilder()

  - ### Method Detail

    - #### setCode

          public ErrorResponse.ErrorResponseBuilder setCode(long code)

    - #### setMessage

          public ErrorResponse.ErrorResponseBuilder setMessage(String message)

    - #### setDescription

          public ErrorResponse.ErrorResponseBuilder setDescription(String description)

    - #### setMoreInfo

          public ErrorResponse.ErrorResponseBuilder setMoreInfo(String moreInfo)

    - #### addErrorItem

          public ErrorResponse.ErrorResponseBuilder addErrorItem(String code,
                                                        String msg)

    - #### build

          public ErrorResponse build()

Copyright © 2017 WSO2. All rights reserved.