public class OwnerResponse extends BaseResponse
Constructor and Description |
---|
OwnerResponse()
Default constructor for OwnerResponse.
|
OwnerResponse(OwnerDTO owner)
Constructor for OwnerResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response code.
|
public OwnerResponse(OwnerDTO owner)
owner
- The owner data transfer object.public OwnerResponse()
public void validate() throws java.lang.IllegalArgumentException
BaseResponse
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if code value is negative.