From c8c0d6ea8323630db2a386688c67bd7524d6a34c Mon Sep 17 00:00:00 2001 From: NathanFallet Date: Fri, 4 Jul 2025 15:29:31 +0200 Subject: [PATCH] Making FileNotFoundException to allow subclassing it --- core/common/src/files/FileSystem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/common/src/files/FileSystem.kt b/core/common/src/files/FileSystem.kt index 46c40af6..7eb2b76c 100644 --- a/core/common/src/files/FileSystem.kt +++ b/core/common/src/files/FileSystem.kt @@ -210,7 +210,7 @@ public class FileMetadata( /** * Signals an I/O operation's failure due to a missing file or directory. */ -public expect class FileNotFoundException(message: String?) : IOException +public expect open class FileNotFoundException(message: String?) : IOException internal const val WindowsPathSeparator: Char = '\\' internal const val UnixPathSeparator: Char = '/'