z11.rs.exception.RequestParamNotValidException Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package z11.rs.exception;
import javax.ws.rs.core.Response;
/**
*
* @author vietduc
*/
public class RequestParamNotValidException extends RestException {
public RequestParamNotValidException(String message) {
super(message);
}
@Override
public Response makeHttpResponse() {
return makeHttpResponse(Response.Status.BAD_REQUEST);
}
}