Document exception throwing behaviour of canonicalizedPath.