* This method should be invoked to assert that the path has been
* resolved correctly. i.e the structure has been navigated
*/
private void assertAllNodesVisisted() {
if (!processor.isEmpty()) {
CharacteristicNotAvailableException e =
new CharacteristicNotAvailableException(
exceptionLocalizer.format(
"service-def-path-failure",
new String[] {xpath, serviceName}));
throw new RuntimeCharacteristicNotAvailableException(e);
}