()
| 457 | |
| 458 | |
| 459 | private void checkStats() throws PCGParseException |
| 460 | { |
| 461 | if (seenStats.size() != Globals.getContext().getReferenceContext().getConstructedObjectCount(PCStat.class)) |
| 462 | { |
| 463 | final String message = |
| 464 | LanguageBundle.getFormattedString("Exceptions.PCGenParser.WrongNumAttributes", //$NON-NLS-1$ |
| 465 | seenStats.size(), Globals.getContext().getReferenceContext().getConstructedObjectCount(PCStat.class)); |
| 466 | throw new PCGParseException("parseStatLines", "N/A", message, null); //$NON-NLS-1$//$NON-NLS-2$ |
| 467 | } |
| 468 | } |
| 469 | |
| 470 | /* |
| 471 | * ############################################################### |
no test coverage detected