public static function fromString($path)
    {
        $pathObject = static::factory()->create($path);
        if (!$pathObject instanceof AbsolutePathInterface) {
            throw new Exception\NonAbsolutePathException($pathObject);
        }

        return $pathObject;
    }