Skip to content

Commit

Permalink
Use unchecked exception in NativeLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
cptartur authored and THenry14 committed Dec 21, 2022
1 parent 0c67352 commit a96b836
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal object NativeLoader {
}

class UnsupportedPlatform(system: String, architecture: String) :
Exception("Unsupported platfrom $system:$architecture")
RuntimeException("Unsupported platfrom $system:$architecture")

private fun getLibPath(system: SystemType, architecture: String, name: String): String {
return when (system) {
Expand Down

0 comments on commit a96b836

Please sign in to comment.