use of org.dbflute.exception.IllegalConditionBeanOperationException in project dbflute-core by dbflute.
the class HpQDRParameter method throwRangeOfNumberBothNullException.
protected void throwRangeOfNumberBothNullException(RangeOfOption option) {
final ExceptionMessageBuilder br = new ExceptionMessageBuilder();
br.addNotice("The both arguments of from-to for (Query)DerivedReferrer were null.");
br.addItem("Advice");
br.addElement("Basically it cannot allow double null");
br.addElement("of the range-of method, even if allowOneSide().");
br.addItem("FromToOption");
br.addElement(option);
final String msg = br.buildExceptionMessage();
throw new IllegalConditionBeanOperationException(msg);
}
Aggregations