public static function create(
        $path,
        $code = null,
        BaseException $previous = null
    )
    {
        $class = get_called_class();
        return new $class(
            sprintf("The path '%s' doesn't exist.", $path),
            is_int($code) ? $code : null,
            $previous
        );
    }