@Override
public Path resolve( Path relativePath ) {
CheckArg.isNotNull(relativePath, "relative path");
if (relativePath.isAbsolute()) {
String msg = GraphI18n.pathIsNotRelative.text(relativePath);
throw new InvalidPathException(msg);
}
// Make an absolute path out of the supplied relative path ...
return new BasicPath(relativePath.getSegmentsList(), true).getNormalizedPath();
}