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)
-
-
-
Constructor Detail
-
ResponseBase
protected ResponseBase()
-
ResponseBase
protected ResponseBase(boolean _error, String _errmsg)
-
-