cn.bestwu.api.sign.InvalidRequestException Maven / Gradle / Ivy
package cn.bestwu.api.sign;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* @author Peter Wu
*/
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class InvalidRequestException extends RuntimeException {
private static final long serialVersionUID = 3853742349210014072L;
public InvalidRequestException() {
super("invalid_request");
}
public InvalidRequestException(String message, Throwable cause) {
super(message, cause);
}
}