public class TableResponse extends BaseResponse
Constructor and Description |
---|
TableResponse()
This is the constructor that is used by Jackson deserializer
|
TableResponse(TableDTO table)
Creates a new TableResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response.
|
public TableResponse(TableDTO table)
table
- The table DTO object.public TableResponse()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- If the response is invalid, this exception is thrown.