321322323324325326327328329
* I think the spec is a bit shonky.) */ public long nzNumber(ImapRequestLineReader request) throws ProtocolException { long number = number(request); if (number == 0) { throw new ProtocolException("Zero value not permitted."); } return number; }
393394395396397398399400
long lowVal = parseLong(range.substring(0, pos)); long highVal = parseLong(range.substring(pos + 1)); return new IdRange(lowVal, highVal); } } catch (NumberFormatException e) { throw new ProtocolException("Invalid message set."); } }