throwChainFileParseException("chain line has wrong number of fields", chainFile, reader.getLineNumber()); throwChainFileParseException("chain line does not start with 'chain'", chainFile, reader.getLineNumber()); id = Integer.parseInt(chainFields[12]); } catch (NumberFormatException e) { throwChainFileParseException("Invalid field", chainFile, reader.getLineNumber()); if (line == null || line.equals("")) { if (!sawLastLine) { throwChainFileParseException("Reached end of chain without seeing terminal block", chainFile, reader.getLineNumber()); throwChainFileParseException("Terminal block seen before end of chain", chainFile, reader.getLineNumber()); sawLastLine = true; } else if (blockFields.length != 3) { throwChainFileParseException("Block line has unexpected number of fields", chainFile, reader.getLineNumber());
throwChainFileParseException("chain line has wrong number of fields", chainFile, reader.getLineNumber()); throwChainFileParseException("chain line does not start with 'chain'", chainFile, reader.getLineNumber()); id = Integer.parseInt(chainFields[12]); } catch (NumberFormatException e) { throwChainFileParseException("Invalid field", chainFile, reader.getLineNumber()); if (line == null || line.equals("")) { if (!sawLastLine) { throwChainFileParseException("Reached end of chain without seeing terminal block", chainFile, reader.getLineNumber()); throwChainFileParseException("Terminal block seen before end of chain", chainFile, reader.getLineNumber()); sawLastLine = true; } else if (blockFields.length != 3) { throwChainFileParseException("Block line has unexpected number of fields", chainFile, reader.getLineNumber());
throwChainFileParseException("chain line has wrong number of fields", chainFile, reader.getLineNumber()); throwChainFileParseException("chain line does not start with 'chain'", chainFile, reader.getLineNumber()); id = Integer.parseInt(chainFields[12]); } catch (NumberFormatException e) { throwChainFileParseException("Invalid field", chainFile, reader.getLineNumber()); if (line == null || line.equals("")) { if (!sawLastLine) { throwChainFileParseException("Reached end of chain without seeing terminal block", chainFile, reader.getLineNumber()); throwChainFileParseException("Terminal block seen before end of chain", chainFile, reader.getLineNumber()); sawLastLine = true; } else if (blockFields.length != 3) { throwChainFileParseException("Block line has unexpected number of fields", chainFile, reader.getLineNumber());