| 16 | { |
| 17 | |
| 18 | SerializationNode *SerializationNode::getNodeReq(const char *name) |
| 19 | { |
| 20 | auto node = this->getNodeOpt(name); |
| 21 | if (!node) |
| 22 | { |
| 23 | throw SerializationException(format("Missing node \"%s\"", name), this); |
| 24 | } |
| 25 | return node; |
| 26 | } |
| 27 | |
| 28 | SerializationNode *SerializationNode::getSectionReq(const char *name) |
| 29 | { |
no test coverage detected