}
private void processSpecForSimpleObject(String line) {
if (currentObjectSpecs == null) {
throw new SyntaxException(UNKNOWN_LINE,"There is no object defined in section");
}
else {
try {
currentObjectSpecs.getSpecs().add(readSpec(line.trim(), getContextPath(), place));
}
catch (SyntaxException exception) {
throw exception;
}
catch (Exception exception) {
throw new SyntaxException(UNKNOWN_LINE, "Incorrect spec for object \"" + currentObjectSpecs.getObjectName() + "\"", exception);
}
}
}