public class TopicResponse extends BaseResponse
| Constructor and Description | 
|---|
TopicResponse()
This is the constructor that is used by Jackson deserializer 
 | 
TopicResponse(TopicDTO topic)
Creates a new TopicResponse. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
validate()
Validates the response code. 
 | 
public TopicResponse(TopicDTO topic)
topic - The topic DTO object.public TopicResponse()
public void validate()
              throws java.lang.IllegalArgumentException
BaseResponsevalidate in interface RESTMessagevalidate in class BaseResponsejava.lang.IllegalArgumentException - if code value is negative.