String value = rval.getDocument().grep(".*The following must be corrected before continuing.*");
if(value != null) {
List<String> foo = rval.getDocument().findSequence(".*Enter.*", ".*or more.*");
JConfig.log().dump2File("error-" + ebayServer.BID_ERROR_TOO_LOW + ".html", rval.getBuffer());
throw new BadBidException(foo.get(0) + " " + foo.get(1), ebayServer.BID_ERROR_TOO_LOW);
}
List<String> quickBidError = rval.getDocument().findSequence("error", "Enter.(.*).or more");
if(quickBidError != null) {
JConfig.log().dump2File("error-" + ebayServer.BID_ERROR_TOO_LOW + ".html", rval.getBuffer());
throw new BadBidException(quickBidError.get(1), ebayServer.BID_ERROR_TOO_LOW);
}
// If maxbid wasn't set, log it in the log file so we can debug it later.
String maxbid = rval.getForm().getInputValue("maxbid");
if (maxbid == null || maxbid.length() == 0) {