com.kasinf.framework.rest.exception.InvlidSearchOperatorException Maven / Gradle / Ivy
package com.kasinf.framework.rest.exception;
import com.kasinf.framework.rest.support.SearchOperator;
/**
* @author 凯鸿
*/
public final class InvlidSearchOperatorException extends SearchException {
private static final long serialVersionUID = 5693485276119691091L;
public InvlidSearchOperatorException(String searchProperty, String operatorStr) {
this(searchProperty, operatorStr, null);
}
public InvlidSearchOperatorException(String searchProperty, String operatorStr, Throwable cause) {
super("Invalid Search Operator searchProperty [" + searchProperty + "], " +
"operator [" + operatorStr + "], must be one of " + SearchOperator.toStringAllOperator(), cause);
}
}