Package edu.wisc.game.rest

## Class ResponseBase

- java.lang.Object
- - edu.wisc.game.rest.ResponseBase

- Direct Known Subclasses:
    `ActivateBonusWrapper`, `FileWriteReport`, `GiveUpWrapper`, `LaunchRulesBase.AndroidRuleInfoReport`, `ListShapesWrapper`, `NewEpisodeWrapper`, `NewEpisodeWrapper2`, `PlayerResponse`, `PregameService.PregameResponseBase`, `UserResponse`

      public class ResponseBase
      extends Object

  The parent class for various structures that are returned, in JSON form,' by REST calls.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `ResponseBase()` |
    `protected` | `ResponseBase​(boolean _error, String _errmsg)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getErrmsg()` |
    `boolean` | `getError()` |
    `protected void` | `hasError​(String msg)` |
    `void` | `setErrmsg​(String _errmsg)` |
    `void` | `setError​(boolean _error)` |

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

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

- - ### Constructor Detail

    - #### ResponseBase

          protected ResponseBase()

    - #### ResponseBase

          protected ResponseBase​(boolean _error,
                                 String _errmsg)

  - ### Method Detail

    - #### getError

          public boolean getError()

    - #### setError

          public void setError​(boolean _error)

    - #### getErrmsg

          public String getErrmsg()

    - #### setErrmsg

          public void setErrmsg​(String _errmsg)

    - #### hasError

          protected void hasError​(String msg)