src/com/vehiclerental/presentationLayer/headOffice/protocolContracts/HeadOfficeResponseMessage.java
/**
     * Generates a default invalid request error response
     *
     * @return the generated error response
     */
Generates a default invalid request error response
@return the generated error response
Generates a default invalid request error response @return the generated error response
public static HeadOfficeResponseMessage GetInvalidRequestResponse() {
        HeadOfficeResponseMessage invalidRequest = new HeadOfficeResponseMessage();
        invalidRequest.Status = 404;
        invalidRequest.Error = "Invalid request code";
        return invalidRequest;
    }
public static HeadOfficeResponseMessage GetInvalidRequestResponse ( ) { HeadOfficeResponseMessage invalidRequest = new HeadOfficeResponseMessage ( ) ; invalidRequest . Status = 404 ; invalidRequest . Error = "Invalid request code" ; return invalidRequest ; }
Generates a default invalid request error response
 @return the generated error response
Generates a default invalid request error response @return the generated error response