levelInt = Integer.parseInt(level.substring(open + 1, close));
levelName = level.substring(0, open);
}
catch (NumberFormatException e) {
getLogger().debug("invalid syntax [" + String.valueOf(level) + "]");
throw new InvalidXPathSyntaxException(level);
}
}
else {
getLogger().debug("invalid syntax [" + String.valueOf(level) + "]");
throw new InvalidXPathSyntaxException(level);
}
}
else {
levelName = level;
}