private void parse_errorDocument( String line,
				      String keyword,
				      String[] split,
				      int lineNumber,
				      boolean strictMode ) 
	throws ParseException {

	// Line has the format:
	// "ErrorDocument" <StatusCode> <ErrorDocumentURI>
	if( split.length < 3 ) {
	    throw new ParseException( "Invalid '"+keyword+"' declaration at line " + lineNumber + ". Expected at least 3 arguments, found " + (split.length-1) + ". Line=" + line,
				      lineNumber );
	}

	String str_statusCode   = split[1];
	String errorDocumentURI = split[2];
	try {

	    this.errorDocumentMap.put( Integer.parseInt( str_statusCode ),
				       errorDocumentURI );

	} catch( NumberFormatException e ) {

	    if( strictMode ) {
		throw new ParseException( "Invalid status code '" + str_statusCode + "' for '" + keyword + "' directive. Line=" + line,
					  lineNumber );
	    }
	    
	}
    }