public class BaseResponse extends Object
ExtDirectPollResponse,
ExtDirectResponse| Constructor and Description |
|---|
BaseResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getType() |
String |
getWhere() |
void |
setMessage(String message)
Sets an error message if type is "exception".
|
void |
setType(String type)
Sets the type of the response.
|
void |
setWhere(String where)
Contains a detailed description (stacktrace) of the error if type is "exception"
and sendStacktrace is set to true in
Configuration. |
public String getType()
public void setType(String type)
type - the new type of the responsepublic String getMessage()
public void setMessage(String message)
message - the error messagepublic String getWhere()
public void setWhere(String where)
Configuration.where - the detailed error description (stacktrace)Configuration.setSendStacktrace(boolean)Copyright © 2010–2017. All rights reserved.