// defined code but extensions may add others (in theory up to 999,
// but in practice up to 699 since the 6xx range is defined as 'final error')
if (statusCode < 100 || statusCode > 699)
throw new ParseException("bad status code", 0);
if (this.statusLine == null)
this.statusLine = new StatusLine();
this.statusLine.setStatusCode(statusCode);
}