Package edu.wisc.game.web

## Class ResponseBase

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

- Direct Known Subclasses:
    `ArithmeticResult`

      public class ResponseBase
      extends Object

  The base of all response objects returned by our REST API methods

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `exceptionTrace()` |
    `String` | `getErrmsg()` |
    `boolean` | `getError()` |
    `Exception` | `getEx()` |
    `protected void` | `giveError​(String msg)` | Sets the error flag and the error message
    `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`

- - ### Method Detail

    - #### getError

          public boolean getError()

    - #### setError

          public void setError​(boolean _error)

    - #### getErrmsg

          public String getErrmsg()

    - #### setErrmsg

          public void setErrmsg​(String _errmsg)

    - #### giveError

          protected void giveError​(String msg)

      Sets the error flag and the error message

    - #### getEx

          public Exception getEx()

    - #### exceptionTrace

          public String exceptionTrace()